1
0
Fork 0

Fixed the short-option parsing in terrafit.cc

This commit is contained in:
Ralf Gerlich 2007-12-18 18:20:19 +01:00
parent 37b49da152
commit 19bc5f179e

View file

@ -269,7 +269,7 @@ int main(int argc, char** argv) {
sglog().setLogLevels( SG_ALL, SG_DEBUG ); sglog().setLogLevels( SG_ALL, SG_DEBUG );
int option; 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) { switch (option) {
case 'h': case 'h':
usage(argv[0],""); usage(argv[0],"");