mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-04-08 17:05:59 +02:00
Changed wording for case match default in flags
This commit is contained in:
parent
63299afaf0
commit
c415dfd88c
@ -80,7 +80,7 @@ Run using `btm`.
|
||||
|
||||
- `-g`, `--group` will group together processes with the same name by default (equivalent to pressing `Tab`).
|
||||
|
||||
- `-s`, `--simple_search` will default the search to simple search rather than regex search.
|
||||
- `-i`, `--case_insensitive` will default to not matching cases when searching processes.
|
||||
|
||||
### Keybindings
|
||||
|
||||
|
@ -72,9 +72,9 @@ fn main() -> error::Result<()> {
|
||||
(@arg LEFT_LEGEND: -l --left_legend "Puts external chart legends on the left side rather than the default right side.")
|
||||
(@arg USE_CURR_USAGE: -u --current_usage "Within Linux, sets a process' CPU usage to be based on the total current CPU usage, rather than assuming 100% usage.")
|
||||
//(@arg CONFIG_LOCATION: -co --config +takes_value "Sets the location of the config file. Expects a config file in the JSON format.")
|
||||
(@arg BASIC_MODE: -b --basic "Sets bottom to basic mode, not showing graphs and only showing basic tables.")
|
||||
//(@arg BASIC_MODE: -b --basic "Sets bottom to basic mode, not showing graphs and only showing basic tables.")
|
||||
(@arg GROUP_PROCESSES: -g --group "Groups processes with the same name together on launch.")
|
||||
(@arg SEARCH_DEFAULT_USE_SIMPLE: -s --simple_search "Uses a simple case-insensitive string comparison to search processes by default.")
|
||||
(@arg CASE_INSENSITIVE_DEFAULT: -i --case_insensitive "Do not match case when searching processes by default.")
|
||||
)
|
||||
.get_matches();
|
||||
|
||||
@ -132,7 +132,7 @@ fn main() -> error::Result<()> {
|
||||
}
|
||||
|
||||
// Set default search method
|
||||
if matches.is_present("SEARCH_DEFAULT_USE_SIMPLE") {
|
||||
if matches.is_present("CASE_INSENSITIVE_DEFAULT") {
|
||||
app.use_simple = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user