mirror of
https://github.com/nikolassv/bartib
synced 2024-11-10 14:14:12 +00:00
Make start required arguments more explicit
This commit is contained in:
parent
ada6bee0d0
commit
687104f8b8
1 changed files with 10 additions and 2 deletions
12
src/main.rs
12
src/main.rs
|
@ -84,8 +84,16 @@ fn main() -> Result<()> {
|
|||
.subcommand(
|
||||
SubCommand::with_name("start")
|
||||
.about("starts a new activity")
|
||||
.arg(&arg_description)
|
||||
.arg(&arg_project)
|
||||
.arg(
|
||||
arg_project
|
||||
.clone()
|
||||
.required(true)
|
||||
)
|
||||
.arg(
|
||||
arg_description
|
||||
.clone()
|
||||
.required(true)
|
||||
)
|
||||
.arg(&arg_time),
|
||||
)
|
||||
.subcommand(
|
||||
|
|
Loading…
Reference in a new issue