From bc96f316ffa7dbf012e560c0b5304b716fb5daff Mon Sep 17 00:00:00 2001 From: Hariharan Date: Sun, 25 Apr 2021 20:16:36 +0530 Subject: CLI - allow user create without prompt (#650) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * CLI - allow user create without prompt. Fixes #577 * Update commands/user_create.go email message Co-authored-by: Michael Muré * Update docs Co-authored-by: Michael Muré --- doc/man/git-bug-user-create.1 | 12 ++++++++++++ doc/md/git-bug_user_create.md | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/man/git-bug-user-create.1 b/doc/man/git-bug-user-create.1 index fa991cc3..181cd15f 100644 --- a/doc/man/git-bug-user-create.1 +++ b/doc/man/git-bug-user-create.1 @@ -17,10 +17,22 @@ Create a new identity. .SH OPTIONS +.PP +\fB\-a\fP, \fB\-\-avatar\fP="" + Avatar URL + +.PP +\fB\-e\fP, \fB\-\-email\fP="" + Email of the user + .PP \fB\-h\fP, \fB\-\-help\fP[=false] help for create +.PP +\fB\-n\fP, \fB\-\-name\fP="" + Name to identify the user + .SH SEE ALSO .PP diff --git a/doc/md/git-bug_user_create.md b/doc/md/git-bug_user_create.md index 95fcc5eb..25811322 100644 --- a/doc/md/git-bug_user_create.md +++ b/doc/md/git-bug_user_create.md @@ -9,7 +9,10 @@ git-bug user create [flags] ### Options ``` - -h, --help help for create + -a, --avatar string Avatar URL + -e, --email string Email of the user + -h, --help help for create + -n, --name string Name to identify the user ``` ### SEE ALSO -- cgit