VirtualBox

Ignore:
Timestamp:
Sep 23, 2010 12:16:51 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66141
Message:

VBoxManage: forgot the help for guestproperty and guestcontrol; enable the latter for VBOX_ONLY_DOCS=1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp

    r32701 r32712  
    2222#include "VBoxManage.h"
    2323
     24#ifndef VBOX_ONLY_DOCS
     25
    2426#include <VBox/com/com.h>
    2527#include <VBox/com/string.h>
     
    4951using namespace com;
    5052
    51 void usageGuestProperty(void)
    52 {
    53     RTStrmPrintf(g_pStdErr,
     53#endif /* !VBOX_ONLY_DOCS */
     54
     55void usageGuestProperty(PRTSTREAM pStrm)
     56{
     57    RTStrmPrintf(pStrm,
    5458                 "VBoxManage guestproperty    get <vmname>|<uuid>\n"
    5559                 "                            <property> [--verbose]\n"
    5660                 "\n");
    57     RTStrmPrintf(g_pStdErr,
     61    RTStrmPrintf(pStrm,
    5862                 "VBoxManage guestproperty    set <vmname>|<uuid>\n"
    5963                 "                            <property> [<value> [--flags <flags>]]\n"
    6064                 "\n");
    61     RTStrmPrintf(g_pStdErr,
     65    RTStrmPrintf(pStrm,
    6266                 "VBoxManage guestproperty    enumerate <vmname>|<uuid>\n"
    6367                 "                            [--patterns <patterns>]\n"
    6468                 "\n");
    65     RTStrmPrintf(g_pStdErr,
     69    RTStrmPrintf(pStrm,
    6670                 "VBoxManage guestproperty    wait <vmname>|<uuid> <patterns>\n"
    6771                 "                            [--timeout <msec>] [--fail-on-timeout]\n"
    6872                 "\n");
    6973}
     74
     75#ifndef VBOX_ONLY_DOCS
    7076
    7177static int handleGetGuestProperty(HandlerArg *a)
     
    396402    return errorSyntax(USAGE_GUESTPROPERTY, "Incorrect parameters");
    397403}
     404
     405#endif /* !VBOX_ONLY_DOCS */
Note: See TracChangeset for help on using the changeset viewer.

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