parent
2254028365
commit
77eea722af
35 changed files with 471 additions and 17 deletions
|
@ -225,6 +225,11 @@ void registerDefaults() {
|
|||
ConfMan.registerDefault("savepath", savePath);
|
||||
#endif
|
||||
#endif // #ifdef DEFAULT_SAVE_PATH
|
||||
|
||||
ConfMan.registerDefault("record_mode", "none");
|
||||
ConfMan.registerDefault("record_file_name", "record.bin");
|
||||
ConfMan.registerDefault("record_temp_file_name", "record.tmp");
|
||||
ConfMan.registerDefault("record_time_file_name", "record.time");
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -500,6 +505,19 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, char **ar
|
|||
END_OPTION
|
||||
#endif
|
||||
|
||||
DO_LONG_OPTION("record-mode")
|
||||
END_OPTION
|
||||
|
||||
DO_LONG_OPTION("record-file-name")
|
||||
END_OPTION
|
||||
|
||||
DO_LONG_OPTION("record-temp-file-name")
|
||||
END_OPTION
|
||||
|
||||
DO_LONG_OPTION("record-time-file-name")
|
||||
END_OPTION
|
||||
|
||||
|
||||
unknownOption:
|
||||
// If we get till here, the option is unhandled and hence unknown.
|
||||
usage("Unrecognized option '%s'", argv[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue