Changeset 85683 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 11, 2020 11:03:42 AM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk
r85143 r85683 97 97 VBoxManageSnapshot.cpp \ 98 98 VBoxManageStorageController.cpp \ 99 VBoxManageUpdateCheck.cpp \ 99 100 VBoxManageUSB.cpp \ 100 101 $(if $(VBOX_WITH_NAT_SERVICE),VBoxManageNATNetwork.cpp,) \ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r85665 r85683 162 162 { "usbdevsource", USAGE_USBDEVSOURCE, VBMG_CMD_TODO, handleUSBDevSource, 0 }, 163 163 { "cloudprofile", USAGE_S_NEWCMD, HELP_CMD_CLOUDPROFILE, handleCloudProfile, 0 }, 164 { "cloud", USAGE_S_NEWCMD, HELP_CMD_CLOUD, handleCloud, 0 } 164 { "cloud", USAGE_S_NEWCMD, HELP_CMD_CLOUD, handleCloud, 0 }, 165 { "updatecheck", USAGE_UPDATECHECK, HELP_CMD_UPDATECHECK, handleUpdateCheck, 0 } 165 166 }; 166 167 -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r85665 r85683 110 110 USAGE_USBDEVSOURCE, 111 111 USAGE_CLOUDPROFILE, 112 USAGE_UPDATECHECK, 112 113 /* Insert new entries before this line, but only if it is not an option 113 114 * to go for the new style command and help handling (see e.g. extpack, … … 339 340 RTEXITCODE handleCloud(HandlerArg *a); 340 341 342 /* VBoxManageUpdateCheck.cpp */ 343 RTEXITCODE handleUpdateCheck(HandlerArg *a); 344 341 345 #endif /* !VBOX_ONLY_DOCS */ 342 346 -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r85665 r85683 1238 1238 } 1239 1239 1240 if (enmCommand == USAGE_UPDATECHECK || enmCommand == USAGE_S_ALL) 1241 { 1242 RTStrmPrintf(pStrm, 1243 "%s updatecheck %s perform\n" 1244 "%s updatecheck %s getsettings\n" 1245 "%s updatecheck %s modifysettings [--enable|--disable]\n" 1246 " [--target=stable|withbetas|allreleases]\n" 1247 " [--frequency=<days>]\n" 1248 "\n", SEP, SEP, SEP); 1249 } 1250 1240 1251 #ifndef VBOX_ONLY_DOCS /* Converted to man page, not needed. */ 1241 1252 if (enmCommand == USAGE_S_ALL) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp
r85579 r85683 827 827 systemProperties->COMGETTER(ProxyURL)(str.asOutParam()); 828 828 RTPrintf("Proxy URL: %ls\n", str.raw()); 829 systemProperties->COMGETTER(VBoxUpdateEnabled)(&fValue); 830 RTPrintf("Update check enabled: %s\n", fValue ? "yes" : "no"); 831 systemProperties->COMGETTER(VBoxUpdateCount)(&ulValue); 832 RTPrintf("Update check count: %u\n", ulValue); 833 systemProperties->COMGETTER(VBoxUpdateFrequency)(&ulValue); 834 if (ulValue == 0) 835 RTPrintf("Update check frequency: never\n"); 836 else if (ulValue == 1) 837 RTPrintf("Update check frequency: every day\n"); 838 else 839 RTPrintf("Update check frequency: every %u days\n", ulValue); 840 VBoxUpdateTarget_T enmVBoxUpdateTarget; 841 systemProperties->COMGETTER(VBoxUpdateTarget)(&enmVBoxUpdateTarget); 842 switch (enmVBoxUpdateTarget) 843 { 844 case VBoxUpdateTarget_Stable: 845 psz = "Stable: new minor and maintenance releases"; 846 break; 847 case VBoxUpdateTarget_AllReleases: 848 psz = "All releases: new minor, maintenance, and major releases"; 849 break; 850 case VBoxUpdateTarget_WithBetas: 851 psz = "With Betas: new minor, maintenance, major, and beta releases"; 852 break; 853 default: 854 psz = "Unset"; 855 break; 856 } 857 RTPrintf("Update check target: %s\n", psz); 858 systemProperties->COMGETTER(VBoxUpdateLastCheckDate)(str.asOutParam()); 859 RTPrintf("Last check date: %ls\n", str.raw()); 860 829 861 return S_OK; 830 862 }
Note:
See TracChangeset
for help on using the changeset viewer.