aboutsummaryrefslogtreecommitdiff
path: root/src/check_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/check_hkl.c
parent781b32aa84eb9fb3092636beb3f6e4fee43add6c (diff)
Formatting
Diffstat (limited to 'src/check_hkl.c')
-rw-r--r--src/check_hkl.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/check_hkl.c b/src/check_hkl.c
index 649b86af..4927e60e 100644
--- a/src/check_hkl.c
+++ b/src/check_hkl.c
@@ -339,43 +339,44 @@ int main(int argc, char *argv[])
while ((c = getopt_long(argc, argv, "hy:p:", longopts, NULL)) != -1) {
switch (c) {
- case 'h' :
+
+ case 'h' :
show_help(argv[0]);
return 0;
- case 'y' :
+ case 'y' :
sym_str = strdup(optarg);
break;
- case 'p' :
+ case 'p' :
pdb = strdup(optarg);
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 :
if ( sscanf(optarg, "%f", &sigma_cutoff) != 1 ) {
ERROR("Invalid value for --sigma-cutoff\n");
return 1;
}
break;
- default :
+ default :
return 1;
}