aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-11-22 23:36:04 -0800
committerThomas White <taw@physics.org>2013-11-23 02:52:52 -0800
commit431c44e9a64add4becfbb6b407effba0411eb5b9 (patch)
tree6a772b8699c0494dc4d3a1e37a1f59d042069040 /src/indexamajig.c
parent130b1bd699079e6418f6f8d44fca191cfd102f70 (diff)
More fixes for --int-diag
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 823ebb79..c450fd83 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -556,7 +556,8 @@ int main(int argc, char *argv[])
iargs.int_diag_l = l;
}
- if ( iargs.int_diag == INTDIAG_NONE ) {
+ if ( (iargs.int_diag == INTDIAG_NONE)
+ && (strcmp(int_diag, "none") != 0) ) {
ERROR("Invalid value for --int-diag.\n");
return 1;
}