mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-24 13:48:49 +08:00
Fix Length of Arguments Required (#1837)
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
This commit is contained in:
parent
5410a14b04
commit
ed0436f0ae
@ -171,7 +171,7 @@ var cmdGroups = []cobra.Command{
|
||||
"Usage:\n" +
|
||||
"\tmainflux-cli groups unassign <member_id> <group_id> $USERTOKEN\n",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
if len(args) != 4 {
|
||||
if len(args) != 3 {
|
||||
logUsage(cmd.Use)
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user