mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-23 21:32:41 +08:00
bump to 5.2, add note about password in stdin
This commit is contained in:
parent
3d95418d9f
commit
c51629a9b8
@ -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.
|
||||
|
3
main.go
3
main.go
@ -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).
|
||||
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user