diff --git a/cli.php b/cli.php index 72d7ae8..be5139c 100644 --- a/cli.php +++ b/cli.php @@ -31,6 +31,7 @@ function cli__users($args) { case 'delete': case 'del': $args = array_slice($args, 1); + if (count($args) !== 1) $help(); if (!isset($users[$args[0]])) $msg = 'User "'.$args[0].'" does not exist.'; else {