aboutsummaryrefslogtreecommitdiff
path: root/src/compare_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-05-30 17:17:11 +0200
committerThomas White <taw@physics.org>2012-05-30 17:17:11 +0200
commit4e0fe58f0d35f2a73f718917b2b99dc17fb9f7dd (patch)
tree4b1279360d9d4de28825e4608f554c187ed6ee0d /src/compare_hkl.c
parent781b32aa84eb9fb3092636beb3f6e4fee43add6c (diff)
Formatting
Diffstat (limited to 'src/compare_hkl.c')
-rw-r--r--src/compare_hkl.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index 5846682f..b926c3ae 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -331,49 +331,51 @@ int main(int argc, char *argv[])
{
switch (c) {
- case 'h' :
+
+ case 'h' :
show_help(argv[0]);
return 0;
- case 'o' :
+ case 'o' :
ratiofile = strdup(optarg);
break;
- case 'y' :
+ case 'y' :
sym_str = strdup(optarg);
break;
- case 'p' :
+ case 'p' :
pdb = strdup(optarg);
break;
- case 'u' :
+ case 'u' :
config_unity = 1;
break;
- case 0 :
+ case 0 :
break;
- case 2 :
+ case 2 :
if ( sscanf(optarg, "%e", &rmin_fix) != 1 ) {
ERROR("Invalid value for --rmin\n");
return 1;
}
break;
- case 3 :
+ case 3 :
if ( sscanf(optarg, "%e", &rmax_fix) != 1 ) {
ERROR("Invalid value for --rmax\n");
return 1;
}
break;
- case 4 :
+ case 4 :
config_shells = get_r_shell(optarg);
break;
- default :
+ default :
return 1;
+
}
}