Changeset 59521 in vbox for trunk/src/VBox/Frontends/VBoxBugReport
- Timestamp:
- Jan 29, 2016 1:19:08 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 105304
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBugReport/VBoxBugReport.cpp
r59500 r59521 27 27 #include <VBox/version.h> 28 28 29 #include <iprt/buildconfig.h> 29 30 #include <iprt/env.h> 30 31 #include <iprt/file.h> … … 75 76 " any VM names provided and included all registered machines.\n" 76 77 "Options:\n" 77 " -h, -help, --help Print usage information\n" 78 " -A, -all, --all Include all registered machines\n" 79 " -o, -output, --output Specifies the name of the output file\n" 80 " -t, -text, --text Produce a single text file instead of compressed TAR\n" 78 " -h, -help, --help Print usage information\n" 79 " -A, -all, --all Include all registered machines\n" 80 " -o, -output, --output Specifies the name of the output file\n" 81 " -t, -text, --text Produce a single text file instead of compressed TAR\n" 82 " -V, -version, --version Print version number and exit\n" 81 83 "\n"; 82 84 … … 491 493 492 494 495 static void printHeader(void) 496 { 497 RTStrmPrintf(g_pStdErr, VBOX_PRODUCT " Bug Report Tool " VBOX_VERSION_STRING "\n" 498 "(C) " VBOX_C_YEAR " " VBOX_VENDOR "\n" 499 "All rights reserved.\n\n"); 500 } 501 493 502 int main(int argc, char *argv[]) 494 503 { … … 498 507 */ 499 508 RTR3InitExe(argc, &argv, 0); 500 501 RTStrmPrintf(g_pStdErr, VBOX_PRODUCT " Bug Report Tool " VBOX_VERSION_STRING "\n"502 "(C) " VBOX_C_YEAR " " VBOX_VENDOR "\n"503 "All rights reserved.\n\n");504 509 505 510 bool fAllMachines = false; … … 520 525 { 521 526 case 'h': 527 printHeader(); 522 528 RTStrmPrintf(g_pStdErr, g_szUsage, argv[0]); 523 529 return 0; … … 531 537 fTextOutput = true; 532 538 break; 539 case 'V': 540 RTPrintf("%sr%s\n", RTBldCfgVersion(), RTBldCfgRevisionStr()); 541 return 0; 533 542 case VINF_GETOPT_NOT_OPTION: 534 543 nameList.push_back(ValueUnion.psz); … … 538 547 } 539 548 } 549 550 printHeader(); 540 551 541 552 HRESULT hr = S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.