diff --git a/includes/cli.php b/includes/cli.php index c6128df..d417e9a 100644 --- a/includes/cli.php +++ b/includes/cli.php @@ -45,6 +45,7 @@ function usage($error=false) { printf(_("Usage: %s [-h] [-qd] command\n"), $argv[0]); echo _(" -h Show this message\n"); echo _(" -q / -d Quiet/Debug mode\n"); + echo _(" --trace Trace mode (the most verbose)\n"); echo _(" command Command to run\n"); echo "\n"; echo _("Available commands:\n"); @@ -98,6 +99,9 @@ function handle_cli_args() { case '--quiet': $log_level = 'WARNING'; break; + case '--trace': + $log_level = 'TRACE'; + break; default: if ($cli_command) $command_args[] = $argv[$i];