summaryrefslogtreecommitdiffstats
path: root/src/options.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2020-12-10 00:03:55 -0500
committerGitHub <noreply@github.com>2020-12-10 00:03:55 -0500
commitce020a7429d410e5eaaa1bfe3cb42f87f4f65092 (patch)
tree71bbcd2ef9b0464021aff7b1487aa87340363d68 /src/options.rs
parent19cdc269fb8253ed1ec5b92152b625a85fdeeb4b (diff)
bug: Fix missing states in processes (#345)
Fixes another change breaking states from showing in processes.
Diffstat (limited to 'src/options.rs')
-rw-r--r--src/options.rs17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/options.rs b/src/options.rs
index cfdeca88..f3f6305c 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -977,13 +977,14 @@ fn get_is_default_tree(matches: &clap::ArgMatches<'static>, config: &Config) ->
false
}
-fn get_show_table_scroll_position(matches: &clap::ArgMatches<'static>, config: &Config) -> bool {
- if matches.is_present("show_table_scroll_position") {
- return true;
- } else if let Some(flags) = &config.flags {
- if let Some(show_table_scroll_position) = flags.show_table_scroll_position {
- return show_table_scroll_position;
- }
- }
+// FIXME: Re-enable this for 0.6
+fn get_show_table_scroll_position(_matches: &clap::ArgMatches<'static>, _config: &Config) -> bool {
+ // if matches.is_present("show_table_scroll_position") {
+ // return true;
+ // } else if let Some(flags) = &config.flags {
+ // if let Some(show_table_scroll_position) = flags.show_table_scroll_position {
+ // return show_table_scroll_position;
+ // }
+ // }
false
}