aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-10-24 16:10:10 +0200
committerThomas White <taw@physics.org>2014-10-24 16:10:10 +0200
commit3ad117acb65ac707acc11ac32a50e6755203d590 (patch)
tree7898c0fe0ddd0e405decd40795e466a0c37c0fcb /src/indexamajig.c
parent1351a057519622ba2b5ee8ccf6397bd62381eeec (diff)
indexamajig: Fix --version
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 8caf613d..d676d97d 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -243,6 +243,7 @@ int main(int argc, char *argv[])
/* Options with long and short versions */
{"help", 0, NULL, 'h'},
+ {"version", 0, NULL, 'v'},
{"input", 1, NULL, 'i'},
{"output", 1, NULL, 'o'},
{"indexing", 1, NULL, 'z'},
@@ -253,7 +254,6 @@ int main(int argc, char *argv[])
{"image", 1, NULL, 'e'},
/* Long-only options with no arguments */
- {"version", 0, NULL, 99},
{"filter-noise", 0, &iargs.noisefilter, 1},
{"no-check-prefix", 0, &config_checkprefix, 0},
{"basename", 0, &config_basename, 1},