Mercurial > hg > sidinfo
changeset 177:6a73d17f0c34
Add a comment.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 06 Jul 2018 21:09:48 +0300 |
parents | 2e890e3d5684 |
children | fe42ad960bc8 |
files | sidinfo.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sidinfo.c Fri Jul 06 21:09:35 2018 +0300 +++ b/sidinfo.c Fri Jul 06 21:09:48 2018 +0300 @@ -120,6 +120,7 @@ { 0, '?', "help", "Show this help", OPT_NONE }, // { 1, 'v', "verbose", "Be more verbose", OPT_NONE }, {10, 0, "license", "Print out this program's license agreement", OPT_NONE }, + { 2, 'p', "parsable", "Output in script-parsable format", OPT_NONE }, { 5, 'n', "noprefix", "Output without field name prefix", OPT_NONE }, { 6, 'l', "line", "Output in one line format, -l <field separator>", OPT_ARGREQ }, @@ -593,6 +594,7 @@ if (fmt - start == 0) { + // "@@" sequence, just print out @ item.cmd = -2; item.str = NULL; item.chr = '@';