Make start required arguments more explicit

This commit is contained in:
Cameron Durham 2021-11-16 18:24:22 -07:00
parent ada6bee0d0
commit 687104f8b8

View file

@ -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(