summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-07-27 21:56:14 +0200
committerCanop <cano.petrole@gmail.com>2020-07-27 21:56:14 +0200
commitfa022a584607464aaef65dc77e67e3eacec07d57 (patch)
tree284a5cd9b7b3c05db02b4a53e12fa1fcdcceec0f /src/cli.rs
parent1974ecff8e14403a9154bf0459fda849f48fb565 (diff)
change "root" to "ROOT" in broot --help
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index a0ab2bd..2385633 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -83,7 +83,7 @@ fn canonicalize_root(root: &Path) -> io::Result<PathBuf> {
fn get_root_path(cli_args: &ArgMatches<'_>) -> Result<PathBuf, ProgramError> {
let mut root = cli_args
- .value_of("root")
+ .value_of("ROOT")
.map_or(env::current_dir()?, PathBuf::from);
if !root.exists() {
return Err(TreeBuildError::FileNotFound {