- Timestamp:
- Aug 4, 2008 2:40:46 PM (16 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp
r11104 r11105 107 107 { 108 108 doUsage("get <property> [-verbose]\n", g_pszProgName, "guestproperty"); 109 doUsage("set <property> [<value> ] [-flags <flags>]\n", g_pszProgName, "guestproperty");109 doUsage("set <property> [<value> [-flags <flags>]]\n", g_pszProgName, "guestproperty"); 110 110 doUsage("enumerate [-patterns <patterns>]\n", g_pszProgName, "guestproperty"); 111 111 } … … 981 981 if (strcmp(argv[1], "-flags") != 0) 982 982 usageOK = false; 983 pszFlags = argv[2]; 983 else 984 { 985 RTPrintf("You may not specify flags without a value"); 986 return 1; 987 } 984 988 } 985 989 else if (4 == argc) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp
r11097 r11105 45 45 "\n"); 46 46 RTPrintf("VBoxManage guestproperty set <vmname>|<uuid>\n" 47 " <property> [<value> ] [-flags <flags>]\n"47 " <property> [<value> [-flags <flags>]]\n" 48 48 "\n"); 49 49 RTPrintf("VBoxManage guestproperty enumerate <vmname>|<uuid>\n" … … 123 123 if (strcmp(argv[2], "-flags") != 0) 124 124 usageOK = false; 125 pszFlags = argv[3]; 125 else 126 return errorSyntax(USAGE_GUESTPROPERTY, 127 "You may not specify flags without a value"); 126 128 } 127 129 else if (5 == argc)
Note:
See TracChangeset
for help on using the changeset viewer.