From 885e42d6230da6ce59ccc90be00dacc002a0a751 Mon Sep 17 00:00:00 2001 From: john30 Date: Mon, 9 Feb 2015 22:57:45 +0100 Subject: [PATCH] fixed help for find --- src/ebusd/mainloop.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/ebusd/mainloop.cpp b/src/ebusd/mainloop.cpp index c161c1b4..32abf792 100644 --- a/src/ebusd/mainloop.cpp +++ b/src/ebusd/mainloop.cpp @@ -427,12 +427,14 @@ string MainLoop::executeFind(vector &args) } if (argPos == 0 || args.size() < argPos || args.size() > argPos + 1) return "usage: 'find [-v] [-r] [-w] [-p] [-d] [-c CLASS] [NAME]'\n" - " Find value(s)." - " -v be verbose (include field names, units, and comments)\n" - " -r limit to active read messages (default all types)\n" - " -w limit to active write messages (default all types)\n" - " -p limit to passive messages (default all types)\n" - " -d only retrieve messages with actual data"; + " Find value(s).\n" + " -v be verbose (include field names, units, and comments)\n" + " -r limit to active read messages (default all types)\n" + " -w limit to active write messages (default all types)\n" + " -p limit to passive messages (default all types)\n" + " -d only retrieve messages with actual data" + " -c CLASS limit to messages of CLASS\n" + " NAME the NAME of the message to find or a part thereof"; deque messages; if (args.size() == argPos)