fix(docs): Add new user help to CLI help

Fixes #54.
This commit is contained in:
Ross Barnie 2024-06-12 00:13:34 +01:00 committed by Nikolas Schmidt-Voigt
parent ae08ceeb6d
commit 26934dceaa

View file

@ -104,6 +104,8 @@ fn main() -> Result<()> {
.version(crate_version!())
.author("Nikolas Schmidt-Voigt <nikolas.schmidt-voigt@posteo.de>")
.about("A simple timetracker")
.after_help("To get help for a specific subcommand, run `bartib [SUBCOMMAND] --help`.
To get started, view the `start` help with `bartib start --help`")
.setting(AppSettings::SubcommandRequiredElseHelp)
.setting(AppSettings::VersionlessSubcommands)
.arg(