uorb top: add 'uorb top -1' to run only once

This commit is contained in:
Beat Küng
2019-03-11 14:32:26 +01:00
committed by Daniel Agar
parent 6672284871
commit 509189ea95
2 changed files with 22 additions and 11 deletions
+1
View File
@@ -78,6 +78,7 @@ $ uorb top
PRINT_MODULE_USAGE_COMMAND_DESCR("status", "Print topic statistics");
PRINT_MODULE_USAGE_COMMAND_DESCR("top", "Monitor topic publication rates");
PRINT_MODULE_USAGE_PARAM_FLAG('a', "print all instead of only currently publishing topics", true);
PRINT_MODULE_USAGE_PARAM_FLAG('1', "run only once, then exit", true);
PRINT_MODULE_USAGE_ARG("<filter1> [<filter2>]", "topic(s) to match (implies -a)", true);
}