diff options
author | Canop <cano.petrole@gmail.com> | 2020-07-27 21:56:14 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-07-27 21:56:14 +0200 |
commit | fa022a584607464aaef65dc77e67e3eacec07d57 (patch) | |
tree | 284a5cd9b7b3c05db02b4a53e12fa1fcdcceec0f /src/cli.rs | |
parent | 1974ecff8e14403a9154bf0459fda849f48fb565 (diff) |
change "root" to "ROOT" in broot --help
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |