From d269b6a5004d531b854b4fcba5960fec58ed0abd Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Wed, 1 Apr 2020 15:05:06 -0500 Subject: [PATCH] Add usage to readme Also fix hardcoded name --- README.md | 10 ++++++++++ main.go | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 64c5086..ecf77fe 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,13 @@ running or however you want to do it. On first run the app will ask for all tokens/secrets from twitter, as well as the directory that you would like images to be downloaded to. + +## Usage + +``` +twimgarc - Download Images from a Twitter Stream + -count,-c= Pull the last tweets + -force,-f Download images even if the file already exists + -help ,-h View this message + -verbose ,-v Be chatty +``` diff --git a/main.go b/main.go index fc43027..1aa221d 100644 --- a/main.go +++ b/main.go @@ -134,7 +134,7 @@ func PrintIfVerbose(val ...string) { } func PrintUsageAndExit() { - fmt.Println("twitstch - Download Images from a Twitter Stream") + fmt.Println(AppName + " - Download Images from a Twitter Stream") fmt.Println(" -count,-c= Pull the last tweets") fmt.Println(" -force,-f Download images even if the file already exists") fmt.Println(" -help ,-h View this message")