aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-05-31 13:48:42 +0200
committerThomas White <taw@physics.org>2012-05-31 13:48:42 +0200
commit13770d8553f9696c1c4c0c56703717524c028d86 (patch)
tree23c9f11f0407207ad24a8f7a4f6c72d52d0e7822 /src/partial_sim.c
parent6ff1bbbd0deeac54175fc862a6e1b53374ae6306 (diff)
parentb6e0b7972e3dbdace0034d439b992faf3ac8c454 (diff)
Merge branch 'master' into tom/speed
Conflicts: .gitignore
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c30
1 files changed, 16 insertions, 14 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index 31822eca..9e054675 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -341,47 +341,48 @@ int main(int argc, char *argv[])
longopts, NULL)) != -1)
{
switch (c) {
- case 'h' :
+
+ case 'h' :
show_help(argv[0]);
return 0;
- case 'o' :
+ case 'o' :
output_file = strdup(optarg);
break;
- case 'i' :
+ case 'i' :
input_file = strdup(optarg);
break;
- case 'b' :
+ case 'b' :
beamfile = strdup(optarg);
break;
- case 'p' :
+ case 'p' :
cellfile = strdup(optarg);
break;
- case 'g' :
+ case 'g' :
geomfile = strdup(optarg);
break;
- case 'y' :
+ case 'y' :
sym_str = strdup(optarg);
break;
- case 'n' :
+ case 'n' :
n = atoi(optarg);
break;
- case 'r' :
+ case 'r' :
save_file = strdup(optarg);
break;
- case 'j' :
+ case 'j' :
n_threads = atoi(optarg);
break;
- case 'c' :
+ case 'c' :
cnoise = strtod(optarg, &rval);
if ( *rval != '\0' ) {
ERROR("Invalid cell noise value.\n");
@@ -389,15 +390,16 @@ int main(int argc, char *argv[])
}
break;
- case 2 :
+ case 2 :
phist_file = strdup(optarg);
break;
- case 0 :
+ case 0 :
break;
- default :
+ default :
return 1;
+
}
}