aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Middendorf <philipp.middendorf@desy.de>2023-03-02 09:02:04 +0100
committerPhilipp Middendorf <philipp.middendorf@desy.de>2023-03-02 09:02:04 +0100
commitc3959c6e44f38b8750d66a5b7eec6a35ba69950c (patch)
tree17378470c348851bcb140479583294437b3de380
parenta38407fe140d6336e2fa02f0240b1ec993ca321a (diff)
get_hkl: fix --input long argument
The help string indicated that get_hkl --input=foobar.hkl works, but it didn't.
-rw-r--r--src/get_hkl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index 82bf5815..1523474e 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -478,6 +478,7 @@ int main(int argc, char *argv[])
/* Long options */
const struct option longopts[] = {
{"help", 0, NULL, 'h'},
+ {"input", 1, NULL, 'i'},
{"version", 0, NULL, 5 },
{"template", 1, NULL, 't'},
{"poisson", 0, &config_poisson, 1},