From e93c110d34e04000547e0611fb53c1d342418a13 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 28 Jul 2011 12:05:35 +0200 Subject: partialiator: Add "-r" option (short version of --reference=) --- src/partialator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/partialator.c') diff --git a/src/partialator.c b/src/partialator.c index f8db8432..f31f7cd9 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -57,7 +57,7 @@ static void show_help(const char *s) " an HDF5 file.\n" " -y, --symmetry= Merge according to symmetry .\n" " -n, --iterations= Run cycles of scaling and post-refinement.\n" -" --reference= Refine images against reflections in ,\n" +" -r, --reference= Refine images against reflections in ,\n" " instead of taking the mean of the intensity\n" " estimates.\n" "\n" @@ -290,7 +290,7 @@ int main(int argc, char *argv[]) {"beam", 1, NULL, 'b'}, {"symmetry", 1, NULL, 'y'}, {"iterations", 1, NULL, 'n'}, - {"reference", 1, NULL, 1}, + {"reference", 1, NULL, 'r'}, {0, 0, NULL, 0} }; @@ -301,7 +301,7 @@ int main(int argc, char *argv[]) } /* Short options */ - while ((c = getopt_long(argc, argv, "hi:g:x:j:y:o:b:", + while ((c = getopt_long(argc, argv, "hi:g:x:j:y:o:b:r:", longopts, NULL)) != -1) { @@ -343,7 +343,7 @@ int main(int argc, char *argv[]) } break; - case 1 : + case 'r' : reference_file = strdup(optarg); break; -- cgit v1.2.3