diff options
author | zlg <zlg@zlg.space> | 2018-09-08 19:15:48 -0700 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-09-08 19:15:48 -0700 |
commit | b2d47d2ca978e2cd62be4cb6fe0471598427b8b7 (patch) | |
tree | e453e5da5f934058dc65bc0b352642305773bea7 /AUTHORS | |
parent | Add remaining filters to vgstash package (diff) | |
download | vgstash-b2d47d2ca978e2cd62be4cb6fe0471598427b8b7.tar.gz vgstash-b2d47d2ca978e2cd62be4cb6fe0471598427b8b7.tar.bz2 vgstash-b2d47d2ca978e2cd62be4cb6fe0471598427b8b7.tar.xz vgstash-b2d47d2ca978e2cd62be4cb6fe0471598427b8b7.zip |
cli: add '--raw' option to list command
Add '--raw' option to the list command, in addition to proper note
expansion. Newline characters in notes are escaped to be friendly to
scripting. This option may be shortened to '-r' at the user's
convenience.
In raw output mode, the information is formatted in plain pipe-delimited
strings, one line per row:
title|system|ownership|progress|notes
ownership and progress are printed in their numeric form, consistent
with the OWNERSHIP and PROGRESS dictionaries in the vgstash package.
An empty notes field will result in a line ending with a pipe and no
whitespace following it.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions