Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commands/user/user_show.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func newUserShowCommand(env *execenv.Env) *cobra.Command {
options := userShowOptions{}

cmd := &cobra.Command{
Use: "user show [USER_ID]",
Use: "show [USER_ID]",
Short: "Display a user identity",
PreRunE: execenv.LoadBackendEnsureUser(env),
RunE: execenv.CloseBackend(env, func(cmd *cobra.Command, args []string) error {
Expand Down
6 changes: 3 additions & 3 deletions doc/man/git-bug-user-user.1 → doc/man/git-bug-user-show.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""

.SH NAME
git-bug-user-user - Display a user identity
git-bug-user-show - Display a user identity


.SH SYNOPSIS
\fBgit-bug user user show [USER_ID] [flags]\fP
\fBgit-bug user show [USER_ID] [flags]\fP


.SH DESCRIPTION
Expand All @@ -19,7 +19,7 @@ Display a user identity

.PP
\fB-h\fP, \fB--help\fP[=false]
help for user
help for show


.SH SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion doc/man/git-bug-user.1
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ List identities


.SH SEE ALSO
\fBgit-bug(1)\fP, \fBgit-bug-user-adopt(1)\fP, \fBgit-bug-user-new(1)\fP, \fBgit-bug-user-user(1)\fP
\fBgit-bug(1)\fP, \fBgit-bug-user-adopt(1)\fP, \fBgit-bug-user-new(1)\fP, \fBgit-bug-user-show(1)\fP
2 changes: 1 addition & 1 deletion doc/md/git-bug_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ git-bug user [flags]
* [git-bug](git-bug.md) - A bug tracker embedded in Git
* [git-bug user adopt](git-bug_user_adopt.md) - Adopt an existing identity as your own
* [git-bug user new](git-bug_user_new.md) - Create a new identity
* [git-bug user user](git-bug_user_user.md) - Display a user identity
* [git-bug user show](git-bug_user_show.md) - Display a user identity

6 changes: 3 additions & 3 deletions doc/md/git-bug_user_user.md → doc/md/git-bug_user_show.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
## git-bug user user
## git-bug user show

Display a user identity

```
git-bug user user show [USER_ID] [flags]
git-bug user show [USER_ID] [flags]
```

### Options

```
-f, --field string Select field to display. Valid values are [email,humanId,id,lastModification,lastModificationLamports,login,metadata,name]
-h, --help help for user
-h, --help help for show
```

### SEE ALSO
Expand Down