diff --git a/README.md b/README.md index 5d6c3ab..ae14136 100644 --- a/README.md +++ b/README.md @@ -259,6 +259,7 @@ mark -h | --help - `-u ` — Use specified username for updating Confluence page. - `-p ` — Use specified password for updating Confluence page. + Specify `-` as password to read password from stdin. - `-l ` — Edit specified Confluence page. If -l is not specified, file should contain metadata (see above). - `-b ` or `--base-url ` – Base URL for Confluence. diff --git a/main.go b/main.go index baa7ce7..85b340a 100644 --- a/main.go +++ b/main.go @@ -32,6 +32,7 @@ Usage: Options: -u Use specified username for updating Confluence page. -p Use specified token for updating Confluence page. + Specify - as password to read password from stdin. -l Edit specified Confluence page. If -l is not specified, file should contain metadata (see above). @@ -52,7 +53,7 @@ Options: ) func main() { - args, err := docopt.Parse(usage, nil, true, "5.1", false) + args, err := docopt.Parse(usage, nil, true, "5.2", false) if err != nil { panic(err) }