Skip to content

Commit 3185040

Browse files
committed
fixed up some arg parsing
1 parent c577baa commit 3185040

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ use termion::color;
99
use users::{get_current_uid, get_user_by_uid};
1010

1111
#[derive(StructOpt, Debug)]
12+
#[structopt(name = "nat", about = "the ls replacement you never knew you needed")]
1213
struct Cli {
13-
#[structopt(default_value = ".")]
14+
#[structopt(parse(from_os_str), default_value = ".", help = "Give me a directory")]
1415
path: std::path::PathBuf,
1516
}
1617

0 commit comments

Comments
 (0)