Skip to content

Commit

Permalink
bump to 5.2, add note about password in stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
kovetskiy committed Feb 9, 2021
1 parent 3d95418 commit c51629a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ mark -h | --help

- `-u <username>` — Use specified username 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.
If -l is not specified, file should contain metadata (see above).
- `-b <url>` or `--base-url <url>` – Base URL for Confluence.
Expand Down
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Usage:
Options:
-u <username> Use specified username 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.
If -l is not specified, file should contain metadata (see
above).
Expand All @@ -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)
}
Expand Down

0 comments on commit c51629a

Please sign in to comment.