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 {
2727
2828/// Main structure defining the Clap argument for the cotp commandline utility
2929#[ derive( Parser ) ]
30- #[ command( author, version = env ! ( "COTP_VERSION" ) , about, long_about = None ) ]
30+ #[ command( author, version = env! ( "COTP_VERSION" ) , about, long_about = None ) ]
3131pub struct CotpArgs {
3232 #[ command( subcommand) ]
3333 command : Option < CotpSubcommands > ,
3434 /// Fetch the password from standard input
3535 #[ arg( long = "password-stdin" , default_value_t = false ) ]
3636 pub password_from_stdin : bool ,
37+ /// Set the database path
38+ #[ arg( short = 'd' , long = "database-path" ) ]
39+ pub database_path : Option < String > ,
3740}
3841
3942/// Define available Subcommands
You can’t perform that action at this time.
0 commit comments