From 32d8c76b18cb829a8e8178f7508cede2a95c9c80 Mon Sep 17 00:00:00 2001 From: Adam Drescher Date: Fri, 7 Oct 2016 11:49:39 -0500 Subject: 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). --- src/out_format.c | 6 +++--- 1 file 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" \ -- cgit v1.2.3