Fixed the short-option parsing in terrafit.cc
This commit is contained in:
parent
37b49da152
commit
19bc5f179e
1 changed files with 1 additions and 1 deletions
|
@ -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],"");
|
||||||
|
|
Loading…
Add table
Reference in a new issue