commit 54f55296abf2a40f2c21a89e621ef7af59515b32 from: Omar Polo date: Thu Mar 03 13:51:31 2022 UTC ctl_noarg: allow argv == 0 for the implicit "status" case commit - 1d6739509f8059b45ef1c1eb4f06d4596fc46984 commit + 54f55296abf2a40f2c21a89e621ef7af59515b32 blob - 66425e68fc874dbedd997780e157dd44f6757cf6 blob + c3517b83e3678f94696a0cb42cd762b23f540e81 --- ctl.c +++ ctl.c @@ -553,7 +553,7 @@ end: int ctl_noarg(struct parse_result *res, int argc, char **argv) { - if (argc != 1) + if (argc > 1) ctl_usage(res->ctl); return ctlaction(res); }