Changed the long format string example to be one continuous string. While this is less pretty than it was before, it allows the user to actually paste the format string directly into their bmon command to try it out. Before this change, the way the string was formatted you could not simply paste it in and run it (whether it had single or double quotes).
This commit is contained in:
parent
577112870d
commit
32d8c76b18
@ -326,9 +326,9 @@ static void print_help(void)
|
||||
" '$(element:name) $(attr:rxrate:packets) $(attr:txrate:packets)\\n'\n" \
|
||||
" eth0 33 5\n" \
|
||||
"\n" \
|
||||
" 'Item: $(element:name)\\n' \\\n" \
|
||||
" 'Bytes Rate: $(attr:rxrate:bytes)/$(attr:txrate:bytes)\\n' \\\n" \
|
||||
" 'Packets Rate: $(attr:rxrate:packets)/$(attr:txrate:packets)\\n'\n" \
|
||||
" 'Item: $(element:name)\\nBytes Rate: $(attr:rxrate:bytes)/" \
|
||||
"$(attr:txrate:bytes)\\nPackets Rate: $(attr:rxrate:packets)/" \
|
||||
"$(attr:txrate:packets)\\n'\n" \
|
||||
" Item: eth0\n" \
|
||||
" Bytes Rate: 49130/2119\n" \
|
||||
" Packets Rate: 40/11\n" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user