Skip to content

Commit c51629a

Browse files
committed
bump to 5.2, add note about password in stdin
1 parent 3d95418 commit c51629a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ mark -h | --help
259259

260260
- `-u <username>` — Use specified username for updating Confluence page.
261261
- `-p <password>` — Use specified password for updating Confluence page.
262+
Specify `-` as password to read password from stdin.
262263
- `-l <url>` — Edit specified Confluence page.
263264
If -l is not specified, file should contain metadata (see above).
264265
- `-b <url>` or `--base-url <url>` – Base URL for Confluence.

main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Usage:
3232
Options:
3333
-u <username> Use specified username for updating Confluence page.
3434
-p <token> Use specified token for updating Confluence page.
35+
Specify - as password to read password from stdin.
3536
-l <url> Edit specified Confluence page.
3637
If -l is not specified, file should contain metadata (see
3738
above).
@@ -52,7 +53,7 @@ Options:
5253
)
5354

5455
func main() {
55-
args, err := docopt.Parse(usage, nil, true, "5.1", false)
56+
args, err := docopt.Parse(usage, nil, true, "5.2", false)
5657
if err != nil {
5758
panic(err)
5859
}

0 commit comments

Comments
 (0)