summaryrefslogtreecommitdiffstats
path: root/src/clap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/clap.rs')
-rw-r--r--src/clap.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/clap.rs b/src/clap.rs
index f4b9222b..50939f5a 100644
--- a/src/clap.rs
+++ b/src/clap.rs
@@ -135,6 +135,13 @@ Hides the spacing between table headers and entries.\n\n",
"\
Completely hides the time scaling from being shown.\n\n",
);
+ let show_table_scroll_position = Arg::with_name("show_table_scroll_position")
+ .long("show_table_scroll_position")
+ .help("Shows the scroll position tracker in table widgets")
+ .long_help(
+ "\
+ Shows the list scroll position tracker in the widget title for table widgets.\n\n",
+ );
let left_legend = Arg::with_name("left_legend")
.short("l")
.long("left_legend")
@@ -366,6 +373,7 @@ Defaults to showing the process widget in tree mode.\n\n",
.arg(hide_avg_cpu)
.arg(hide_table_gap)
.arg(hide_time)
+ .arg(show_table_scroll_position)
.arg(left_legend)
// .arg(no_write)
.arg(rate)