Skip to content

Commit

Permalink
Merge pull request #6 from ihcsim/fix-readme-markdown
Browse files Browse the repository at this point in the history
Fix README Markdown.
  • Loading branch information
kailunshi committed Feb 26, 2016
2 parents a13e157 + a3da4d5 commit 866ba9b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Consul Backup and Restore tool.
This will use consul-api (Go library) to recursively backup and restore all your
key/value pairs.

You need to set up your Go environment and "go get github.com/hashicorp/consul/api"
and "go get github.com/docopt/docopt-go"
You need to set up your Go environment and `go get github.com/hashicorp/consul/api`
and `go get github.com/docopt/docopt-go`.

a "go build" will generate executable named "consul-backup"
A `go build` will generate executable named `consul-backup`.

#
```sh
Usage:
consul-backup [-i IP:PORT] [-t TOKEN] [--aclbackup] [--aclbackupfile ACLBACKUPFILE] [--restore] <filename>
consul-backup -h | --help
Expand All @@ -22,3 +22,4 @@ Options:
-a, --aclbackup Backup ACLs, does nothing in restore mode. ACL restore not available at this time.
-b, --aclbackupfile=ACLBACKUPFILE ACL Backup Filename [default: acl.bkp].
-r, --restore Activate restore mode
```

0 comments on commit 866ba9b

Please sign in to comment.