File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -82,20 +82,20 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
82
82
. arg_required_else_help ( true )
83
83
. subcommand (
84
84
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 ] ) )
87
87
. arg ( clap:: arg!( [ TAGS ] ) ) ,
88
88
)
89
89
. subcommand (
90
90
Command :: new ( "find" )
91
- . about ( "Finds files & directories from tag " )
91
+ . about ( "Finds a path from tags " )
92
92
. arg ( clap:: arg!( [ TAGS ] ) ) ,
93
93
)
94
94
. get_matches ( ) ;
95
95
96
96
return match matches. subcommand ( ) {
97
97
Some ( ( "mark" , sub_matches) ) => mark_path ( connection, (
98
- sub_matches. value_of ( "DIRECTORY " ) ,
98
+ sub_matches. value_of ( "PATH " ) ,
99
99
sub_matches. value_of ( "TAGS" ) )
100
100
) ,
101
101
Some ( ( "find" , sub_matches) ) => find_path ( connection, sub_matches. value_of ( "TAGS" ) ) ,
You can’t perform that action at this time.
0 commit comments