Replaced format string double quotes with single quotes to prevent the shell from running our provided format placeholders.
This commit is contained in:
parent
5b938e05c7
commit
577112870d
@ -320,15 +320,15 @@ static void print_help(void)
|
|||||||
" Supported Escape Sequences: \\n, \\t, \\r, \\v, \\b, \\f, \\a\n" \
|
" Supported Escape Sequences: \\n, \\t, \\r, \\v, \\b, \\f, \\a\n" \
|
||||||
"\n" \
|
"\n" \
|
||||||
" Examples:\n" \
|
" Examples:\n" \
|
||||||
" \"$(element:name)\\t$(attr:rx:bytes)\\t$(attr:tx:bytes)\\n\"\n" \
|
" '$(element:name)\\t$(attr:rx:bytes)\\t$(attr:tx:bytes)\\n'\n" \
|
||||||
" lo 12074 12074\n" \
|
" lo 12074 12074\n" \
|
||||||
"\n" \
|
"\n" \
|
||||||
" \"$(element:name) $(attr:rxrate:packets) $(attr:txrate:packets)\\n\"\n" \
|
" '$(element:name) $(attr:rxrate:packets) $(attr:txrate:packets)\\n'\n" \
|
||||||
" eth0 33 5\n" \
|
" eth0 33 5\n" \
|
||||||
"\n" \
|
"\n" \
|
||||||
" \"Item: $(element:name)\\n\" \\\n" \
|
" 'Item: $(element:name)\\n' \\\n" \
|
||||||
" \"Bytes Rate: $(attr:rxrate:bytes)/$(attr:txrate:bytes)\\n\" \\\n" \
|
" 'Bytes Rate: $(attr:rxrate:bytes)/$(attr:txrate:bytes)\\n' \\\n" \
|
||||||
" \"Packets Rate: $(attr:rxrate:packets)/$(attr:txrate:packets)\\n\"\n" \
|
" 'Packets Rate: $(attr:rxrate:packets)/$(attr:txrate:packets)\\n'\n" \
|
||||||
" Item: eth0\n" \
|
" Item: eth0\n" \
|
||||||
" Bytes Rate: 49130/2119\n" \
|
" Bytes Rate: 49130/2119\n" \
|
||||||
" Packets Rate: 40/11\n" \
|
" Packets Rate: 40/11\n" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user