Changeset 44328 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jan 22, 2013 11:05:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp
r44324 r44328 104 104 * them can fix this. */ 105 105 #if defined(RT_OS_WINDOWS) && !defined(VBOX_CONTROL_TEST) 106 if ( GET_VIDEO_ACCEL == eWhich|| eWhich == USAGE_ALL)106 if (eWhich == GET_VIDEO_ACCEL || eWhich == USAGE_ALL) 107 107 doUsage("", g_pszProgName, "getvideoacceleration"); 108 if ( SET_VIDEO_ACCEL == eWhich|| eWhich == USAGE_ALL)108 if (eWhich == SET_VIDEO_ACCEL || eWhich == USAGE_ALL) 109 109 doUsage("<on|off>", g_pszProgName, "setvideoacceleration"); 110 if ( LIST_CUST_MODES == eWhich|| eWhich == USAGE_ALL)110 if (eWhich == LIST_CUST_MODES || eWhich == USAGE_ALL) 111 111 doUsage("", g_pszProgName, "listcustommodes"); 112 if ( ADD_CUST_MODE == eWhich|| eWhich == USAGE_ALL)112 if (eWhich == ADD_CUST_MODE || eWhich == USAGE_ALL) 113 113 doUsage("<width> <height> <bpp>", g_pszProgName, "addcustommode"); 114 if ( REMOVE_CUST_MODE == eWhich|| eWhich == USAGE_ALL)114 if (eWhich == REMOVE_CUST_MODE || eWhich == USAGE_ALL) 115 115 doUsage("<width> <height> <bpp>", g_pszProgName, "removecustommode"); 116 if ( SET_VIDEO_MODE == eWhich|| eWhich == USAGE_ALL)116 if (eWhich == SET_VIDEO_MODE || eWhich == USAGE_ALL) 117 117 doUsage("<width> <height> <bpp> <screen>", g_pszProgName, "setvideomode"); 118 118 #endif 119 119 #ifdef VBOX_WITH_GUEST_PROPS 120 if ( GUEST_PROP == eWhich|| eWhich == USAGE_ALL)120 if (eWhich == GUEST_PROP || eWhich == USAGE_ALL) 121 121 { 122 122 doUsage("get <property> [--verbose]", g_pszProgName, "guestproperty"); 123 123 doUsage("set <property> [<value> [--flags <flags>]]", g_pszProgName, "guestproperty"); 124 doUsage("delete <property>", g_pszProgName, "guestproperty");124 doUsage("delete|unset <property>", g_pszProgName, "guestproperty"); 125 125 doUsage("enumerate [--patterns <patterns>]", g_pszProgName, "guestproperty"); 126 126 doUsage("wait <patterns>", g_pszProgName, "guestproperty"); … … 130 130 #endif 131 131 #ifdef VBOX_WITH_SHARED_FOLDERS 132 if ( GUEST_SHAREDFOLDERS == eWhich|| eWhich == USAGE_ALL)132 if (eWhich == GUEST_SHAREDFOLDERS || eWhich == USAGE_ALL) 133 133 { 134 134 doUsage("list [-automount]", g_pszProgName, "sharedfolder"); … … 1358 1358 else if (!strcmp(argv[0], "set")) 1359 1359 return setGuestProperty(argc - 1, argv + 1); 1360 else if (!strcmp(argv[0], "delete") )1360 else if (!strcmp(argv[0], "delete") || !strcmp(argv[0], "unset")) 1361 1361 return deleteGuestProperty(argc - 1, argv + 1); 1362 1362 else if (!strcmp(argv[0], "enumerate"))
Note:
See TracChangeset
for help on using the changeset viewer.