Add usage to readme
Also fix hardcoded name
This commit is contained in:
parent
9131bf32d3
commit
d269b6a500
10
README.md
10
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=<num> Pull the last <num> tweets
|
||||
-force,-f Download images even if the file already exists
|
||||
-help ,-h View this message
|
||||
-verbose ,-v Be chatty
|
||||
```
|
||||
|
2
main.go
2
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=<num> Pull the last <num> tweets")
|
||||
fmt.Println(" -force,-f Download images even if the file already exists")
|
||||
fmt.Println(" -help ,-h View this message")
|
||||
|
Loading…
Reference in New Issue
Block a user