From 19bc5f179e4e8b217f766188e704cb8af42cc8b3 Mon Sep 17 00:00:00 2001 From: Ralf Gerlich Date: Tue, 18 Dec 2007 18:20:19 +0100 Subject: [PATCH] Fixed the short-option parsing in terrafit.cc --- src/Prep/TerraFit/terrafit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Prep/TerraFit/terrafit.cc b/src/Prep/TerraFit/terrafit.cc index d74e97a0..1e3311af 100644 --- a/src/Prep/TerraFit/terrafit.cc +++ b/src/Prep/TerraFit/terrafit.cc @@ -269,7 +269,7 @@ int main(int argc, char** argv) { sglog().setLogLevels( SG_ALL, SG_DEBUG ); int option; - while ((option=getopt_long(argc,argv,"",options,NULL))!=-1) { + while ((option=getopt_long(argc,argv,"hm:x:e:v",options,NULL))!=-1) { switch (option) { case 'h': usage(argv[0],"");