VirtualBox

Changeset 5084 in vbox for trunk/src/VBox/Frontends/VBoxSDL


Ignore:
Timestamp:
Sep 27, 2007 7:14:10 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
24914
Message:

FE/SDL: print available key bindings in help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r4866 r5084  
    661661             "  -[no]hwvirtex            Permit or deny the usage of VMX/SVN\n"
    662662#endif
     663             "\n"
     664             "Key bindings:\n"
     665             "  <hostkey> +  f           Switch to full screen / restore to previous view\n"
     666             "               h           Press ACPI power button\n"
     667             "               n           Take a snapshot and continue execution\n"
     668             "               p           Pause / resume execution\n"
     669             "               q           Power off\n"
     670             "               r           VM reset\n"
     671             "               s           Save state and power off\n"
     672             "              <del>        Send <ctrl><alt><del>\n"
     673             "       <F1>...<F12>        Send <ctrl><alt><Fx>\n"
    663674             "\n");
    664675}
     
    13031314        else
    13041315        {
    1305             RTPrintf("Error: unrecognized switch '%s'\n", argv[curArg]);
     1316            if (   strcmp(argv[curArg], "-h") != 0
     1317                && strcmp(argv[curArg], "-help") != 0
     1318                && strcmp(argv[curArg], "--help"))
     1319                RTPrintf("Error: unrecognized switch '%s'\n", argv[curArg]);
    13061320            show_usage();
    13071321            return 1;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette