Skip to content

Commit

Permalink
default src users list to only displaying username, not full JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinzliu committed May 30, 2018
1 parent 76b03f2 commit c8f05b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/src/users_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Examples:
var (
firstFlag = flagSet.Int("first", 1000, "Returns the first n users from the list. (use -1 for unlimited)")
queryFlag = flagSet.String("query", "", `Returns users whose names match the query. (e.g. "alice")`)
formatFlag = flagSet.String("f", "{{.|json}}", `Format for the output, using the syntax of Go package text/template. (e.g. "{{.ID}}: {{.Username}} ({{.DisplayName}})")`)
formatFlag = flagSet.String("f", "{{.Username}}", `Format for the output, using the syntax of Go package text/template. (e.g. "{{.ID}}: {{.Username}} ({{.DisplayName}})" or "{{.|json}}")`)
apiFlags = newAPIFlags(flagSet)
)

Expand Down

0 comments on commit c8f05b9

Please sign in to comment.