VirtualBox

Ignore:
Timestamp:
Sep 14, 2011 1:02:02 PM (13 years ago)
Author:
vboxsync
Message:

VBoxControl: default are options with two dashes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp

    r38733 r38750  
    9797{
    9898    RTPrintf("Usage:\n\n");
    99     doUsage("print version number and exit", g_pszProgName, "[-v|-version]");
    100     doUsage("suppress the logo", g_pszProgName, "-nologo ...");
     99    doUsage("print version number and exit", g_pszProgName, "[-v|--version]");
     100    doUsage("suppress the logo", g_pszProgName, "--nologo ...");
    101101    RTPrintf("\n");
    102102
     
    120120    if (GUEST_PROP == eWhich || eWhich == USAGE_ALL)
    121121    {
    122         doUsage("get <property> [-verbose]", g_pszProgName, "guestproperty");
    123         doUsage("set <property> [<value> [-flags <flags>]]", g_pszProgName, "guestproperty");
    124         doUsage("enumerate [-patterns <patterns>]", g_pszProgName, "guestproperty");
     122        doUsage("get <property> [--verbose]", g_pszProgName, "guestproperty");
     123        doUsage("set <property> [<value> [--flags <flags>]]", g_pszProgName, "guestproperty");
     124        doUsage("enumerate [--patterns <patterns>]", g_pszProgName, "guestproperty");
    125125        doUsage("wait <patterns>", g_pszProgName, "guestproperty");
    126         doUsage("[-timestamp <last timestamp>]");
    127         doUsage("[-timeout <timeout in ms>");
     126        doUsage("[--timestamp <last timestamp>]");
     127        doUsage("[--timeout <timeout in ms>");
    128128    }
    129129#endif
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