Skip to content

Commit 57a124f

Browse files
committed
Update language
1 parent 0287759 commit 57a124f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,20 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
8282
.arg_required_else_help(true)
8383
.subcommand(
8484
Command::new("mark")
85-
.about("Adds files to myapp")
86-
.arg(clap::arg!([DIRECTORY]))
85+
.about("Give a path specified tags")
86+
.arg(clap::arg!([PATH]))
8787
.arg(clap::arg!([TAGS])),
8888
)
8989
.subcommand(
9090
Command::new("find")
91-
.about("Finds files & directories from tag")
91+
.about("Finds a path from tags")
9292
.arg(clap::arg!([TAGS])),
9393
)
9494
.get_matches();
9595

9696
return match matches.subcommand() {
9797
Some(("mark", sub_matches)) => mark_path(connection, (
98-
sub_matches.value_of("DIRECTORY"),
98+
sub_matches.value_of("PATH"),
9999
sub_matches.value_of("TAGS"))
100100
),
101101
Some(("find", sub_matches)) => find_path(connection, sub_matches.value_of("TAGS")),

0 commit comments

Comments
 (0)