summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2020-02-04 20:05:07 -0500
committerClementTsang <cjhtsang@uwaterloo.ca>2020-02-04 20:07:53 -0500
commit41d56d8a9b90609acc2ebdb44c646340812bcdef (patch)
treec11c81839004b1dc965725832c6c3678db9c364b /src
parenta7bca4ec500f031ba6c8005063badd87da74b882 (diff)
Update Cargo, changed the CLI flags for search a bit along with the docs to be a bit easier to remember (all caps, change regex option to `-R`)
Diffstat (limited to 'src')
-rw-r--r--src/main.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index 9fb6b4c6..6db1356d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -60,13 +60,13 @@ fn main() -> error::Result<()> {
(version: crate_version!())
(author: crate_authors!())
(about: crate_description!())
- (@arg AVG_CPU: -a --avgcpu "Enables showing the average CPU usage.")
+ (@arg AVG_CPU: -a --avg_cpu "Enables showing the average CPU usage.")
(@arg DOT_MARKER: -m --dot_marker "Use a dot marker instead of the default braille marker.")
(@arg DEBUG: -d --debug "Enables debug mode, which will output a log file.")
(@group TEMPERATURE_TYPE =>
- (@arg CELSIUS : -c --celsius "Sets the temperature type to Celsius. This is the default option.")
- (@arg FAHRENHEIT : -f --fahrenheit "Sets the temperature type to Fahrenheit.")
(@arg KELVIN : -k --kelvin "Sets the temperature type to Kelvin.")
+ (@arg FAHRENHEIT : -f --fahrenheit "Sets the temperature type to Fahrenheit.")
+ (@arg CELSIUS : -c --celsius "Sets the temperature type to Celsius. This is the default option.")
)
(@arg RATE_MILLIS: -r --rate +takes_value "Sets a refresh rate in milliseconds; the minimum is 250ms, defaults to 1000ms. Smaller values may take more resources.")
(@arg LEFT_LEGEND: -l --left_legend "Puts external chart legends on the left side rather than the default right side.")
@@ -74,9 +74,9 @@ fn main() -> error::Result<()> {
//(@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 GROUP_PROCESSES: -g --group "Groups processes with the same name together on launch.")
- (@arg CASE_SENSITIVE: -s --case_sensitive "Match case when searching by default.")
- (@arg WHOLE_WORD: -w --whole "Match whole word when searching by default.")
- (@arg REGEX_DEFAULT: -x --regex "Use regex in searching by default.")
+ (@arg CASE_SENSITIVE: -S --case_sensitive "Match case when searching by default.")
+ (@arg WHOLE_WORD: -W --whole "Match whole word when searching by default.")
+ (@arg REGEX_DEFAULT: -R --regex "Use regex in searching by default.")
)
.get_matches();