Adds missing colon assignment for username variable in ntfy user add command.
This commit is contained in:
parent
727c6268b9
commit
7de7e0de12
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ Examples:
|
||||||
}
|
}
|
||||||
|
|
||||||
func execUserAdd(c *cli.Context) error {
|
func execUserAdd(c *cli.Context) error {
|
||||||
username = c.Args().Get(0)
|
username := c.Args().Get(0)
|
||||||
role := auth.Role(c.String("role"))
|
role := auth.Role(c.String("role"))
|
||||||
password := c.String("user")
|
password := c.String("user")
|
||||||
if username == "" {
|
if username == "" {
|
||||||
|
|
Loading…
Reference in a new issue