diff options
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 21 |
1 files changed, 9 insertions, 12 deletions
@@ -1492,24 +1492,21 @@ static void version(void) static void help(int exitcode) { - const char *options_help = + version(); + printf("usage: %s [options] [disk_image]\n\n" + "'disk_image' is a raw hard disk image for IDE hard disk 0\n\n", + error_get_progname()); + #define QEMU_OPTIONS_GENERATE_HELP #include "qemu-options-wrapper.h" - ; - version(); - printf("usage: %s [options] [disk_image]\n" - "\n" - "'disk_image' is a raw hard disk image for IDE hard disk 0\n" - "\n" - "%s\n" - "During emulation, the following keys are useful:\n" + + printf("\nDuring emulation, the following keys are useful:\n" "ctrl-alt-f toggle full screen\n" "ctrl-alt-n switch to virtual console 'n'\n" "ctrl-alt toggle mouse and keyboard grab\n" "\n" - "When using -nographic, press 'ctrl-a h' to get some help.\n", - error_get_progname(), - options_help); + "When using -nographic, press 'ctrl-a h' to get some help.\n"); + exit(exitcode); } |