diff options
author | Thomas Graf <tgraf@suug.ch> | 2016-03-29 12:22:56 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2016-03-29 12:22:56 +0200 |
commit | f78c0e5b98a45dcd142e4b7bef1d42cb23064239 (patch) | |
tree | 8dee2f7ac3a4af122f5ebd78d686ef12c927e2a6 | |
parent | 0e08ec1b793bc923477db4abb5f7b51c6c559dc1 (diff) |
Add 'info' option to show additional info screen by default
Suggested-by: @Berzerker
Signed-off-by: Thomas Graf <tgraf@suug.ch>
-rw-r--r-- | src/out_curses.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/out_curses.c b/src/out_curses.c index 670be75..7b8bc7a 100644 --- a/src/out_curses.c +++ b/src/out_curses.c @@ -1257,6 +1257,7 @@ static void print_module_help(void) " nocolors Do not use colors\n" \ " graph Show graphical stats by default\n" \ " details Show detailed stats by default\n" \ + " info Show additional info screen by default\n" \ " minlist=INT Minimum item list length\n"); } @@ -1279,6 +1280,8 @@ static void curses_parse_opt(const char *type, const char *value) c_show_graph = !!c_ngraph; } else if (!strcasecmp(type, "details")) c_show_details = 1; + else if (!strcasecmp(type, "info")) + c_show_info = 1; else if (!strcasecmp(type, "nocolors")) c_use_colors = 0; else if (!strcasecmp(type, "minlist") && value) |