Skip to content

Commit

Permalink
Changed the long format string example to be one continuous string. W…
Browse files Browse the repository at this point in the history
…hile 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).
  • Loading branch information
freshdresch committed Oct 7, 2016
1 parent 5771128 commit 32d8c76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/out_format.c
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 32d8c76

Please sign in to comment.