VirtualBox

Changeset 86434 in vbox for trunk


Ignore:
Timestamp:
Oct 2, 2020 9:33:45 PM (4 years ago)
Author:
vboxsync
Message:

VBoxManage: Added --dump-build-type so valkit/vbox.py has a better chance of detecting the build type. bugref:9841

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

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

    r85778 r86434  
    430430            return 0;
    431431        }
     432        if (!strcmp(argv[i], "--dump-build-type"))
     433        {
     434            /* Print the build type, and do nothing else. (Used by ValKit to detect build type.) */
     435            RTPrintf("%s\n", RTBldCfgType());
     436            return 0;
     437        }
    432438#endif
    433439
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r85929 r86434  
    448448        RTStrmPrintf(pStrm,
    449449                     "  VBoxManage [<general option>] <command>\n"
    450                      " \n \n"
    451                      "General Options:\n \n"
    452                      "  [-v|--version]            print version number and exit\n"
     450                     "\n"
     451                     "\n"
     452                     "General Options:\n"
     453                     "\n"
     454                     "  [-V|--version]            print version number and exit\n"
     455                     "  [--dump-build-type]       print build type and exit\n"
    453456                     "  [-q|--nologo]             suppress the logo\n"
    454457                     "  [--settingspw <pw>]       provide the settings password\n"
    455458                     "  [--settingspwfile <file>] provide a file containing the settings password\n"
    456459                     "  [@<response-file>]        load arguments from the given response file (bourne style)\n"
    457                      " \n \n"
    458                      "Commands:\n \n");
     460                     "\n
     461                     "\n"
     462                     "Commands:\n"
     463                     "\n");
    459464
    460465    const char *pcszSep1 = " ";
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