Change command-line options.

This commit is contained in:
Paul Romano 2013-09-07 19:10:52 -04:00
parent af43d7ec8c
commit 7e5e146f4e
2 changed files with 4 additions and 3 deletions

View file

@ -335,7 +335,7 @@ contains
run_mode = MODE_PLOTTING
check_overlaps = .true.
case ('-n', '-n_particles', '--n_particles')
case ('-n', '-particles', '--particles')
! Read number of particles per cycle
i = i + 1
n_particles = str_to_int(argv(i))
@ -368,7 +368,7 @@ contains
case ('-g', '-geometry-debug', '--geometry-debug')
check_overlaps = .true.
case ('-t', '--threads')
case ('-s', '--threads')
! Read number of threads
i = i + 1

View file

@ -167,10 +167,11 @@ contains
write(OUTPUT_UNIT,*)
write(OUTPUT_UNIT,*) 'Options:'
write(OUTPUT_UNIT,*) ' -g, --geometry-debug Run in geometry debugging mode'
write(OUTPUT_UNIT,*) ' -n, --particles Number of particles per generation'
write(OUTPUT_UNIT,*) ' -p, --plot Run in plotting mode'
write(OUTPUT_UNIT,*) ' -r, --restart Restart a previous run from a state point'
write(OUTPUT_UNIT,*) ' or a particle restart file'
write(OUTPUT_UNIT,*) ' -t, --threads Number of OpenMP threads'
write(OUTPUT_UNIT,*) ' -s, --threads Number of OpenMP threads'
write(OUTPUT_UNIT,*) ' -v, --version Show version information'
write(OUTPUT_UNIT,*) ' -?, --help Show this message'
end if