Skip to content

Commit a9dcade

Browse files
author
Brad Gorman
committed
peer network login usage message is wrong
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 <[email protected]>
1 parent 0f959c0 commit a9dcade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peer/network/login.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func loginCmd() *cobra.Command {
4242
}
4343

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

0 commit comments

Comments
 (0)