tools: fix resolution active get/set

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2015-09-15 00:06:11 +10:00
parent 6e56dec9ed
commit e7b421ae19

View File

@@ -706,7 +706,7 @@ ratbag_cmd_resolution_active(const struct ratbag_cmd *cmd,
struct ratbag_cmd_options *options,
int argc, char **argv)
{
if (argc < 2) {
if (argc < 1) {
usage();
return 1;
}