VirtualBox

Opened 9 years ago

#13692 new enhancement

Vboxmanage Guestproperty Get command - 'laconic' output

Reported by: scottgus1bug Owned by:
Component: VM control Version: VirtualBox 4.3.20
Keywords: Cc:
Guest type: all Host type: all

Description

There are presently two modes for the command-line output of "Vboxmanage guestproperty get", the default

"Value: ____"

and a --verbose, giving this:

Value: ______
Timestamp: ###################
Flags: ______

When using "Vboxmanage guestproperty get" in a script, the output of the command has to be put through a filter to act on just the contents of the desired property, without acting on the title preceding the property contents. Especially is this so if one want's the timestamp or the flags, and has to hunt through the verbose output to find the desired data.

It would be useful to have a "laconic" output mode, giving just the contents of the requested item itself, with no explanatory name in front of the value, so the command output could be inserted into a variable without any filtering needed later in the script.

Suggested switches:

--justvalue only the value without the preceding "value: "

--justtimestamp only the timestamp number without the "timestamp: "

--justflags only the flags, without the "flags: "

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use