Skip to content

Commit

Permalink
Regenerate readme usage and fix cli usage text
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinHoksberg committed Mar 24, 2018
1 parent 5e2ef12 commit bb130f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ You can find the latest release including binaries [here](https://github.com/Edw
## Usage
```
NAME:
beanstalkd-cli - A simple cli interface for managing beanstalkd queues.
Homepage: https://github.com/edwinhoksberg/beanstalkd-cli
Commit: a7b7f2db5f5b9dd3a1978c107dbd96547394429c
beanstalkd-cli
USAGE:
beanstalkd-cli [global options] command [command options] [arguments...]
A simple cli interface for managing beanstalkd queues.
Homepage: https://github.com/edwinhoksberg/beanstalkd-cli
VERSION:
1.2.7
1.2.7 [5e2ef1289d916807f5a4f787dc9634b9753fa4cb]
AUTHOR:
Edwin Hoksberg <[email protected]>
COMMANDS:
monitor Monitor the beanstalkd queues
Expand All @@ -28,6 +30,7 @@ COMMANDS:
GLOBAL OPTIONS:
--verbose set this to enable debug logging
--quiet set this to disable logging
--server value The server name where beanstalkd is running (default: "127.0.0.1")
--port value The port on which beanstalkd is listening (default: 11300)
--help, -h show help
Expand Down
5 changes: 3 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
)

var (
Name string
Version string
Name string
Version string
)

func main() {
Expand All @@ -20,6 +20,7 @@ func main() {
app := cli.NewApp()

app.Name = Name
app.Usage = ""
app.HelpName = Name
app.Version = Version
app.Authors = []cli.Author{
Expand Down

0 comments on commit bb130f3

Please sign in to comment.