1
0
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:
b1ackd0t 2023-07-11 16:54:58 +03:00 committed by GitHub
parent 5410a14b04
commit ed0436f0ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}