Skip to content

Commit ef65c5f

Browse files
nikosavolahughcars
authored andcommitted
Change -v to -V for version
1 parent 8e59cf5 commit ef65c5f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

palace/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ int main(int argc, char *argv[])
265265
"Usage: {} [OPTIONS] CONFIG_FILE\n\n"
266266
"Options:\n"
267267
" -h, --help Show this help message and exit\n"
268-
" -v, --version Show version information and exit\n"
268+
" -V, --version Show version information and exit\n"
269269
" -dry-run, --dry-run Parse configuration file for errors and exit\n\n",
270270
executable_path.substr(executable_path.find_last_of('/') + 1));
271271
};
@@ -277,7 +277,7 @@ int main(int argc, char *argv[])
277277
Help();
278278
return 0;
279279
}
280-
if ((argv_i == "-v") || (argv_i == "--version"))
280+
if ((argv_i == "-V") || (argv_i == "--version"))
281281
{
282282
PrintPalaceVersionInfo(world_comm);
283283
return 0;

scripts/palace

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Wrapper for launching Palace using MPI
1111
1212
Options:
1313
-h, --help Show this help message and exit
14-
-v, --version Show version information and exit
14+
-V, --version Show version information and exit
1515
-dry-run, --dry-run Parse configuration file for errors and exit
1616
-serial, --serial Call Palace without MPI launcher, default is false
1717
-np, --np NUM_PROCS How many MPI processes to use, default is 1
@@ -38,7 +38,7 @@ while [[ $# -gt 0 ]]; do
3838
help
3939
exit 0
4040
;;
41-
-v|--version)
41+
-V|--version)
4242
VERSION="--version"
4343
shift
4444
;;

0 commit comments

Comments
 (0)