# HG changeset patch # User Matti Hamalainen # Date 1530900588 -10800 # Node ID 6a73d17f0c34fc98e81187f88be7f0d4aa953dba # Parent 2e890e3d568495e8292fa55244b59325500fb5ee Add a comment. diff -r 2e890e3d5684 -r 6a73d17f0c34 sidinfo.c --- 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 ", OPT_ARGREQ }, @@ -593,6 +594,7 @@ if (fmt - start == 0) { + // "@@" sequence, just print out @ item.cmd = -2; item.str = NULL; item.chr = '@';