mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
And get rid of the now useless s parameter.
This commit is contained in:
@@ -682,12 +682,12 @@ delete_nvr_file(uint8_t flash)
|
||||
extern void device_find_all_descs(void);
|
||||
|
||||
static void
|
||||
pc_show_usage(char *s)
|
||||
pc_show_usage(void)
|
||||
{
|
||||
char p[8192] = { 0 };
|
||||
|
||||
sprintf(p,
|
||||
"\n%sUsage: 86box [options] [cfg-file]\n\n"
|
||||
"\nUsage: 86box [options] [cfg-file]\n\n"
|
||||
"Valid options are:\n\n"
|
||||
"-? or --help\t\t\t- show this information\n"
|
||||
"-A or --assetpath path\t\t- set 'path' to be asset path\n"
|
||||
@@ -736,8 +736,7 @@ pc_show_usage(char *s)
|
||||
"-Y or --donothing\t\t- do not show any UI or run the emulation\n"
|
||||
#endif
|
||||
"-Z or --lastvmpath\t\t- the last param. is VM path rather than config\n"
|
||||
"\nA config file can be specified. If none is, the default file will be used.\n",
|
||||
s);
|
||||
"\nA config file can be specified. If none is, the default file will be used.\n");
|
||||
|
||||
#ifdef _WIN32
|
||||
ui_msgbox(MBX_ANSI | MBX_INFO, p);
|
||||
@@ -842,7 +841,7 @@ usage:
|
||||
}
|
||||
}
|
||||
|
||||
pc_show_usage("");
|
||||
pc_show_usage();
|
||||
return 0;
|
||||
} else if (!strcasecmp(argv[c], "--lastvmpath") || !strcasecmp(argv[c], "-Z")) {
|
||||
lvmp = 1;
|
||||
|
||||
Reference in New Issue
Block a user