btrfs-progs: qgroup: report unknown option

Since commit 208ba29007 "btrfs-progs: qgroup assign: can't handle
options", the unknown options will not be reported for qgroup
assign/remove as this was mistakenly removed from the caller.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2019-03-04 16:34:54 +01:00
parent 50750ead22
commit f34d4c5ac0
1 changed files with 1 additions and 2 deletions

View File

@ -68,8 +68,7 @@ static int _cmd_qgroup_assign(int assign, int argc, char **argv,
rescan = false;
break;
default:
/* Usage printed by the caller */
return -1;
usage_unknown_option(usage_str, argv);
}
}
} else {