From 9406c9c3640d080f01724406f8a9310454d73203 Mon Sep 17 00:00:00 2001 From: Ross Barnie Date: Wed, 12 Jun 2024 00:13:34 +0100 Subject: [PATCH 1/2] fix(docs): Add new user help to CLI help Fixes #54. --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index d4f2a21..b7f3387 100644 --- a/src/main.rs +++ b/src/main.rs @@ -104,6 +104,8 @@ fn main() -> Result<()> { .version(crate_version!()) .author("Nikolas Schmidt-Voigt ") .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( From 189eaff3e28e2f2d2934488cc3a5bafa23708d39 Mon Sep 17 00:00:00 2001 From: Nikolas Schmidt-Voigt Date: Thu, 13 Jun 2024 22:40:00 +0200 Subject: [PATCH 2/2] Updated Changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff38ed1..ed8eb9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Subcommand `status` to display the total duration of activities today, in the current week and in the current month (thanks to [@airenas](https://github.com/airenas)) +### Changed + +- Improved general `--help` output (thanks to [@RossBarnie](https://github.com/RossBarnie) + ## [1.1.0] - 2024-02-29 ### Added