summaryrefslogtreecommitdiffstats
path: root/src/out_format.c
diff options
context:
space:
mode:
authorAdam Drescher <adam.r.drescher@gmail.com>2016-10-07 11:49:39 -0500
committerAdam Drescher <adam.r.drescher@gmail.com>2016-10-07 11:49:39 -0500
commit32d8c76b18cb829a8e8178f7508cede2a95c9c80 (patch)
tree363d0a416c07e69ff644532231870866db367586 /src/out_format.c
parent577112870d616fb5e65feeefcb16e7889c4ece9d (diff)
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).
Diffstat (limited to 'src/out_format.c')
-rw-r--r--src/out_format.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/out_format.c b/src/out_format.c
index be08b29..4d017f3 100644
--- a/src/out_format.c
+++ b/src/out_format.c
@@ -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" \