diff options
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 02829b55..80894804 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -253,6 +253,7 @@ int main(int argc, char *argv[]) {"prefix", 1, NULL, 'x'}, {"threshold", 1, NULL, 't'}, {"image", 1, NULL, 'e'}, + {"beam", 1, NULL, 'b'}, /* Long-only options with no arguments */ {"filter-noise", 0, &iargs.noisefilter, 1}, @@ -297,7 +298,7 @@ int main(int argc, char *argv[]) }; /* Short options */ - while ((c = getopt_long(argc, argv, "hi:o:z:p:x:j:g:t:e:v", + while ((c = getopt_long(argc, argv, "hi:o:z:p:x:j:g:t:e:vb:", longopts, NULL)) != -1) { switch (c) { @@ -311,6 +312,12 @@ int main(int argc, char *argv[]) printf(CRYSTFEL_BOILERPLATE"\n"); return 0; + case 'b' : + ERROR("WARNING: This version of CrystFEL no longer " + "uses beam files. Please remove the beam file " + "from your indexamajig command line.\n"); + return 1; + case 'i' : filename = strdup(optarg); break; |