Revision e8105ebb vl.c

b/vl.c
4021 4021

  
4022 4022
static void help(int exitcode)
4023 4023
{
4024
    version();
4025
    printf("usage: %s [options] [disk_image]\n"
4026
           "\n"
4027
           "'disk_image' is a raw hard image image for IDE hard disk 0\n"
4028
           "\n"
4024
    const char *options_help =
4029 4025
#define DEF(option, opt_arg, opt_enum, opt_help)        \
4030 4026
           opt_help
4031 4027
#define DEFHEADING(text) stringify(text) "\n"
......
4033 4029
#undef DEF
4034 4030
#undef DEFHEADING
4035 4031
#undef GEN_DOCS
4032
        ;
4033
    version();
4034
    printf("usage: %s [options] [disk_image]\n"
4035
           "\n"
4036
           "'disk_image' is a raw hard image image for IDE hard disk 0\n"
4036 4037
           "\n"
4038
           "%s\n"
4037 4039
           "During emulation, the following keys are useful:\n"
4038 4040
           "ctrl-alt-f      toggle full screen\n"
4039 4041
           "ctrl-alt-n      switch to virtual console 'n'\n"
4040 4042
           "ctrl-alt        toggle mouse and keyboard grab\n"
4041 4043
           "\n"
4042
           "When using -nographic, press 'ctrl-a h' to get some help.\n"
4043
           ,
4044
           "qemu");
4044
           "When using -nographic, press 'ctrl-a h' to get some help.\n",
4045
           "qemu",
4046
           options_help);
4045 4047
    exit(exitcode);
4046 4048
}
4047 4049

  

Also available in: Unified diff