Update help texts
This commit is contained in:
parent
71d3bc8dcc
commit
90354265a0
2 changed files with 11 additions and 5 deletions
10
main.go
10
main.go
|
@ -142,27 +142,27 @@ func main() {
|
|||
gitdir := flag.String(
|
||||
"C",
|
||||
cwd,
|
||||
"git directory",
|
||||
"The directory containing the git repository in which to archive the pads.",
|
||||
)
|
||||
doPush := flag.Bool(
|
||||
"push",
|
||||
false,
|
||||
"push repository to remote",
|
||||
"Push the changes to the remote specified by remoteUrl",
|
||||
)
|
||||
username := flag.String(
|
||||
"username",
|
||||
"",
|
||||
"username",
|
||||
"The username for authenticating to the remote.",
|
||||
)
|
||||
password := flag.String(
|
||||
"password",
|
||||
os.Getenv("GIT_PASSWORD"),
|
||||
"password",
|
||||
"The password for authenticating to the remote. Can also be specified via the environment variable GIT_PASSWORD.",
|
||||
)
|
||||
remoteUrl := flag.String(
|
||||
"url",
|
||||
"",
|
||||
"url of remote",
|
||||
"URL to push changes to.",
|
||||
)
|
||||
|
||||
flag.Parse()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue