aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.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/partialator.c
parent6ff1bbbd0deeac54175fc862a6e1b53374ae6306 (diff)
parentb6e0b7972e3dbdace0034d439b992faf3ac8c454 (diff)
Merge branch 'master' into tom/speed
Conflicts: .gitignore
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 91f2ff99..4fa8c2bd 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -325,35 +325,36 @@ int main(int argc, char *argv[])
{
switch (c) {
- case 'h' :
+
+ case 'h' :
show_help(argv[0]);
return 0;
- case 'i' :
+ case 'i' :
infile = strdup(optarg);
break;
- case 'g' :
+ case 'g' :
geomfile = strdup(optarg);
break;
- case 'j' :
+ case 'j' :
nthreads = atoi(optarg);
break;
- case 'y' :
+ case 'y' :
sym_str = strdup(optarg);
break;
- case 'o' :
+ case 'o' :
outfile = strdup(optarg);
break;
- case 'n' :
+ case 'n' :
n_iter = atoi(optarg);
break;
- case 'b' :
+ case 'b' :
beam = get_beam_parameters(optarg);
if ( beam == NULL ) {
ERROR("Failed to load beam parameters"
@@ -362,15 +363,16 @@ int main(int argc, char *argv[])
}
break;
- case 'r' :
+ case 'r' :
reference_file = strdup(optarg);
break;
- case 0 :
+ case 0 :
break;
- default :
+ default :
return 1;
+
}
}