Skip to content

Commit

Permalink
peer network login usage message is wrong
Browse files Browse the repository at this point in the history
The `peer network login` command does not specify that it
requires a username argument:

$ peer network login
Error: Must supply username
Usage:
  peer network login [flags]

This change modifies the usage message to:

Usage:
  peer network login <username> [flags]

Change-Id: I7ffbc312a9ee33ba34584c4cb57d091ffeb4b2dc
Signed-off-by: Bradley Gorman <bgorman@au1.ibm.com>
  • Loading branch information
Brad Gorman committed Sep 7, 2016
1 parent 0f959c0 commit a9dcade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peer/network/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func loginCmd() *cobra.Command {
}

var networkLoginCmd = &cobra.Command{
Use: "login",
Use: "login <username>",
Short: "Logs in user to CLI.",
Long: `Logs in the local user to CLI. Must supply username as a parameter.`,
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit a9dcade

Please sign in to comment.