Skip to content

Commit

Permalink
fixed up some arg parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
willdoescode committed Oct 22, 2020
1 parent c577baa commit 3185040
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ use termion::color;
use users::{get_current_uid, get_user_by_uid};

#[derive(StructOpt, Debug)]
#[structopt(name = "nat", about = "the ls replacement you never knew you needed")]
struct Cli {
#[structopt(default_value = ".")]
#[structopt(parse(from_os_str), default_value = ".", help = "Give me a directory")]
path: std::path::PathBuf,
}

Expand Down

0 comments on commit 3185040

Please sign in to comment.