From e8a78aab2c71c3ef2a4e71d896af6587c3a23478 Mon Sep 17 00:00:00 2001 From: adriangohjw Date: Wed, 4 Sep 2024 12:47:14 +0800 Subject: [PATCH] fix: update help text in autogitc usage instructions --- bin/autogitc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bin/autogitc b/bin/autogitc index 073c803..25453dc 100755 --- a/bin/autogitc +++ b/bin/autogitc @@ -6,12 +6,14 @@ require_relative '../lib/pr_template_generator' if ARGV.include?('--help') puts <<~HELP Usage: autogitc [options] - - Options: - pr Generate a pull request template - --base= Specify the base branch (default: main) --nocommit, --nc Run without committing changes --text= Specify text that must be included in the commit + + Usage autogitc pr [options] + This generates a pull request from existing template + --base= Specify the base branch (default: main) + + Other options: --help Display this help message --version Show the version of autogitc HELP