From 93d0472e8df597fa0b823ab288daaa1770fbf841 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 24 Mar 2014 13:28:15 +0100 Subject: ambigator: Update docs and error messages --- src/ambigator.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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; } } -- cgit v1.2.3