File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,16 @@ pub trait SubcommandExecutor {
27
27
28
28
/// Main structure defining the Clap argument for the cotp commandline utility
29
29
#[ derive( Parser ) ]
30
- #[ command( author, version = env ! ( "COTP_VERSION" ) , about, long_about = None ) ]
30
+ #[ command( author, version = env! ( "COTP_VERSION" ) , about, long_about = None ) ]
31
31
pub struct CotpArgs {
32
32
#[ command( subcommand) ]
33
33
command : Option < CotpSubcommands > ,
34
34
/// Fetch the password from standard input
35
35
#[ arg( long = "password-stdin" , default_value_t = false ) ]
36
36
pub password_from_stdin : bool ,
37
+ /// Set the database path
38
+ #[ arg( short = 'd' , long = "database-path" ) ]
39
+ pub database_path : Option < String > ,
37
40
}
38
41
39
42
/// Define available Subcommands
You can’t perform that action at this time.
0 commit comments