bump to 5.2, add note about password in stdin

This commit is contained in:
Egor Kovetskiy 2021-02-09 06:58:31 +03:00
parent 3d95418d9f
commit c51629a9b8
2 changed files with 3 additions and 1 deletions

View File

@ -259,6 +259,7 @@ mark -h | --help
- `-u <username>` — Use specified username for updating Confluence page. - `-u <username>` — Use specified username for updating Confluence page.
- `-p <password>` — Use specified password for updating Confluence page. - `-p <password>` — Use specified password for updating Confluence page.
Specify `-` as password to read password from stdin.
- `-l <url>` — Edit specified Confluence page. - `-l <url>` — Edit specified Confluence page.
If -l is not specified, file should contain metadata (see above). If -l is not specified, file should contain metadata (see above).
- `-b <url>` or `--base-url <url>` Base URL for Confluence. - `-b <url>` or `--base-url <url>` Base URL for Confluence.

View File

@ -32,6 +32,7 @@ Usage:
Options: Options:
-u <username> Use specified username for updating Confluence page. -u <username> Use specified username for updating Confluence page.
-p <token> Use specified token for updating Confluence page. -p <token> Use specified token for updating Confluence page.
Specify - as password to read password from stdin.
-l <url> Edit specified Confluence page. -l <url> Edit specified Confluence page.
If -l is not specified, file should contain metadata (see If -l is not specified, file should contain metadata (see
above). above).
@ -52,7 +53,7 @@ Options:
) )
func main() { 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 { if err != nil {
panic(err) panic(err)
} }