diff options
author | Thomas White <taw@physics.org> | 2010-09-30 14:10:22 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:00 +0100 |
commit | 9ddbe81540a0b731da4f1f68c3d5dcf14aff5097 (patch) | |
tree | fc4efb3f9a989198867c21de889d4e5810366d72 | |
parent | 09ebc1352269ba4e70c399a2c179c7e844314cd8 (diff) |
pattern_sim: Fix options
-rw-r--r-- | src/pattern_sim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index 01383161..d39dea7b 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -47,7 +47,7 @@ static void show_help(const char *s) " intensities file)\n" " --simulation-details Show technical details of the simulation.\n" " --gpu Use the GPU to speed up the calculation.\n" -" -g. --geometry=<file> Get detector geometry from file.\n" +" -g, --geometry=<file> Get detector geometry from file.\n" "\n" " --near-bragg Output h,k,l,I near Bragg conditions.\n" " -n, --number=<N> Generate N images. Default 1.\n" @@ -64,7 +64,7 @@ static void show_help(const char *s) " this invocation as the given filename.\n" " -i, --intensities=<file> Specify file containing reflection intensities\n" " (and phases) to use.\n" -" -g, --gradients=<method> Use <method> for the calculation of shape\n" +" -t, --gradients=<method> Use <method> for the calculation of shape\n" " transform intensities. Choose from:\n" " mosaic : Take the intensity of the nearest\n" " Bragg position. This is the\n" @@ -217,7 +217,7 @@ int main(int argc, char *argv[]) }; /* Short options */ - while ((c = getopt_long(argc, argv, "hrn:i:t:p:o:", + while ((c = getopt_long(argc, argv, "hrn:i:t:p:o:g:", longopts, NULL)) != -1) { switch (c) { |