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:
parent
50750ead22
commit
f34d4c5ac0
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue