From 76999ef4ad5a34fd152c3fd6516856812c761436 Mon Sep 17 00:00:00 2001 From: Samuel Pua Date: Sat, 10 Sep 2022 02:07:32 +0800 Subject: [PATCH] Chore(help-screen): Tidy help screen --- README.md | 4 ++-- cmd/messenger/main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4842760..f36d7b8 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ The project's goal is build a generic messenger that notifies through multiple c ## Usage ``` -usage: print [-h|--help] [--webhook] [--url ""] +usage: messenger [-h|--help] [--webhook] [--url ""] - Prints provided string to stdout + Generic messenger that notifies through multiple channels Arguments: diff --git a/cmd/messenger/main.go b/cmd/messenger/main.go index 4091be8..ff2e421 100644 --- a/cmd/messenger/main.go +++ b/cmd/messenger/main.go @@ -12,7 +12,7 @@ import ( func main() { // Create new parser object - parser := argparse.NewParser("print", "Prints provided string to stdout") + parser := argparse.NewParser("messenger", "Generic messenger that notifies through multiple channels") // Create webhook flag webhookFlag := parser.Flag("", "webhook", &argparse.Options{Help: "Use this flag to enable webhook sending"})