aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-28 12:05:35 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:35 +0100
commite93c110d34e04000547e0611fb53c1d342418a13 (patch)
treee6db0f96a86e59b269b2d13bac2ab084edf04a03 /src
parent1f6fc155eca22806f7280ace99ae281d57ba88d9 (diff)
partialiator: Add "-r" option (short version of --reference=)
Diffstat (limited to 'src')
-rw-r--r--src/partialator.c8
1 files changed, 4 insertions, 4 deletions
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=<sym> Merge according to symmetry <sym>.\n"
" -n, --iterations=<n> Run <n> cycles of scaling and post-refinement.\n"
-" --reference=<file> Refine images against reflections in <file>,\n"
+" -r, --reference=<file> Refine images against reflections in <file>,\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;