diff options
author | Thomas White <taw@physics.org> | 2014-03-05 13:54:52 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-03-05 13:54:52 +0100 |
commit | bd889c3bb7653880068498d8386a81c65045167f (patch) | |
tree | 0b68025d1d514bc281d9079793215272f1addc67 /src | |
parent | 82e03c74e1f054d885b1572b73a719583c364985 (diff) |
Symmetry for detwinning should be the actual symmetry, not the apparent symmetry
Diffstat (limited to 'src')
-rw-r--r-- | src/ambigator.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ambigator.c b/src/ambigator.c index e790eba0..d60c484b 100644 --- a/src/ambigator.c +++ b/src/ambigator.c @@ -67,8 +67,8 @@ static void show_help(const char *s) " -h, --help Display this help message.\n" "\n" " -o, --output=<filename> Output stream.\n" -" -y, --symmetry=<sym> Apparent (\"source\") symmetry.\n" -" -e <sym> Actual (\"target\") symmetry.\n" +" -y, --symmetry=<sym> Actual (\"target\") symmetry.\n" +" -w <sym> Apparent (\"source\" or \"twinned\") symmetry.\n" " -n, --iterations=<n> Iterate <n> times.\n" " --highres=<n> High resolution cutoff in A.\n" " --lowres=<n> Low resolution cutoff in A.\n" @@ -318,7 +318,7 @@ int main(int argc, char *argv[]) }; /* Short options */ - while ((c = getopt_long(argc, argv, "ho:y:n:e:", + while ((c = getopt_long(argc, argv, "ho:y:n:w:", longopts, NULL)) != -1) { @@ -336,7 +336,7 @@ int main(int argc, char *argv[]) s_sym_str = strdup(optarg); break; - case 'e' : + case 'w' : e_sym_str = strdup(optarg); break; |