diff options
author | Thomas White <taw@physics.org> | 2013-11-23 03:42:49 -0800 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-11-23 03:42:49 -0800 |
commit | fd622410bb8c1386da65652dfb36c94da3c61c48 (patch) | |
tree | 207de0978aca5ab3bb4d6ad6af9c170e9a7c3594 /src | |
parent | d1d8e9d2f7bdb13977181145519f71fa23c3cb73 (diff) |
indexamajig: Ignore -j if --int-cond is used
Diffstat (limited to 'src')
-rw-r--r-- | src/indexamajig.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 7aeccd53..8806d4c2 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -144,7 +144,7 @@ static void show_help(const char *s) " validity.\n" " --no-peaks-in-stream Do not record peak search results in the stream.\n" " --no-refls-in-stream Do not record integrated reflections in the stream.\n" -" --int-diag=<r> Show debugging information about this reflection.\n" +" --int-diag=<cond> Show debugging information about reflections.\n" ); } @@ -572,6 +572,11 @@ int main(int argc, char *argv[]) free(int_diag); + if ( (n_proc > 1) && (iargs.int_diag != INTDIAG_NONE) ) { + n_proc = 1; + STATUS("Ignored \"-j\" because you used --int-diag.\n"); + } + } ofd = open(outfile, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR | S_IWUSR); |