diff options
author | Thomas White <taw@physics.org> | 2010-07-16 19:27:33 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:54 +0100 |
commit | 9c67613d0435aa5352e1ab458d52b6bf1d92bede (patch) | |
tree | e325fc3310c895b18013089628f36ca287c0c35c | |
parent | af0c25e17b4b37d74f6589f746b0763fd59b0c38 (diff) |
compare_hkl: Add symmetry option (not implemented yet)
-rw-r--r-- | src/compare_hkl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c index e69f3753..2aafcdb1 100644 --- a/src/compare_hkl.c +++ b/src/compare_hkl.c @@ -35,6 +35,7 @@ static void show_help(const char *s) "\n" " -h, --help Display this help message.\n" " -o, --output=<filename> Specify output filename for correction factor.\n" +" -y, --symmetry=<sym> The symmetry of both the input files.\n" "\n"); } @@ -57,6 +58,7 @@ int main(int argc, char *argv[]) const struct option longopts[] = { {"help", 0, NULL, 'h'}, {"output", 1, NULL, 'o'}, + {"symmetry", 1, NULL, 'y'}, {0, 0, NULL, 0} }; @@ -72,6 +74,10 @@ int main(int argc, char *argv[]) outfile = strdup(optarg); break; + case 'y' : + sym = strdup(optarg); + break; + case 0 : break; |