- Timestamp:
- Mar 28, 2006, 12:16:30 AM (19 years ago)
- Location:
- branches/preferences/src/lib/parser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/preferences/src/lib/parser/cmdline_parser/cmdline_parser.cc
r7250 r7253 216 216 output.back().push_back( "Option" ); 217 217 output.back().push_back( "Long option" ); 218 output.back().push_back( " Meaning" );218 output.back().push_back( "Description" ); 219 219 220 220 output.reverse(); -
branches/preferences/src/lib/parser/preferences/cmd_line_prefs_reader.cc
r7251 r7253 71 71 cbd->parser->showHelp(); 72 72 return true; 73 case ID_LICENSE: 74 PRINT(0)(ORXONOX_LICENSE_SHORT); 75 return true; 73 76 } 74 77 … … 106 109 107 110 parser.add( ID_HELP, "help", 'h', 0, "", "Shows this help"); 111 parser.add( ID_LICENSE, "license", 'l', 0, "", "Prints the licence and exit"); 108 112 109 113 for ( int i = 0; i<regArgs.size(); i++ ) -
branches/preferences/src/lib/parser/preferences/cmd_line_prefs_reader.h
r7251 r7253 9 9 #include "stdincl.h" 10 10 #include "debug.h" 11 #include "globals.h" 11 12 12 13 #include "src/lib/parser/cmdline_parser/cmdline_parser.h" … … 42 43 ID_SET_INI = 1, 43 44 ID_HELP, 45 ID_LICENSE, 44 46 ID_LAST 45 47 };
Note: See TracChangeset
for help on using the changeset viewer.