aboutsummaryrefslogtreecommitdiff
path: root/src/ambigator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-03-24 13:28:15 +0100
committerThomas White <taw@physics.org>2014-03-24 13:28:15 +0100
commit93d0472e8df597fa0b823ab288daaa1770fbf841 (patch)
treecac6d5911eb5d07f4044c99445b78d12c29c5c5c /src/ambigator.c
parent6bd8e575c97a84f4b17bc1541ec4dca53c0deb33 (diff)
ambigator: Update docs and error messages
Diffstat (limited to 'src/ambigator.c')
-rw-r--r--src/ambigator.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ambigator.c b/src/ambigator.c
index 0ea1a17a..75744199 100644
--- a/src/ambigator.c
+++ b/src/ambigator.c
@@ -901,7 +901,10 @@ int main(int argc, char *argv[])
describe_symmetry(amb);
if ( num_equivs(amb, NULL) != 1 ) {
ERROR("There must be only one ambiguity operator.\n");
- ERROR("Try again with a different value for -w.\n");
+ if ( w_sym_str != NULL ) {
+ ERROR("Try again with a different value"
+ " for -w.\n");
+ }
return 1;
}
}