VirtualBox

Changeset 31599 in vbox


Ignore:
Timestamp:
Aug 12, 2010 1:02:55 PM (14 years ago)
Author:
vboxsync
Message:

FE/VBoxManage: fix the usage output for convertfromraw on Windows (no stdin support), and simplify the #ifdefs

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

Legend:

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

    r31568 r31599  
    11/* $Id$ */
    22/** @file
    3  * VBoxManage - The disk delated commands.
     3 * VBoxManage - The disk related commands.
    44 */
    55
     
    759759                {
    760760                    srcfilename = ValueUnion.psz;
    761 #if defined(RT_OS_LINUX) || defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS)
     761// If you change the OS list here don't forget to update VBoxManageHelp.cpp.
     762#ifndef RT_OS_WINDOWS
    762763                    fReadFromStdIn = !strcmp(srcfilename, "stdin");
    763764#endif
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r31291 r31599  
    511511                 "                            [--format VDI|VMDK|VHD]\n"
    512512                 "                            [--variant Standard,Fixed,Split2G,Stream,ESX]\n"
     513#ifndef RT_OS_WINDOWS
    513514                 "VBoxManage convertfromraw   stdin <outputfile> <bytes>\n"
    514515                 "                            [--format VDI|VMDK|VHD]\n"
    515516                 "                            [--variant Standard,Fixed,Split2G,Stream,ESX]\n"
     517#endif
    516518                 "\n");
    517519    }
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