From: Tim Otten Date: Wed, 24 Jun 2015 21:09:24 +0000 (-0700) Subject: bin/cli.php - Accept `-J` as alias for `--json` X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=26604a651b4b5b27b5041a3d8644c2403c1a859a;p=civicrm-core.git bin/cli.php - Accept `-J` as alias for `--json` --- diff --git a/bin/cli.class.php b/bin/cli.class.php index 03bf057463..9a569b0cc9 100644 --- a/bin/cli.class.php +++ b/bin/cli.class.php @@ -179,7 +179,7 @@ class civicrm_cli { elseif ($arg == '-o' || $arg == '--output') { $this->_output = TRUE; } - elseif ($arg == '--json') { + elseif ($arg == '-J' || $arg == '--json') { $this->_output = 'json'; } elseif ($arg == '-j' || $arg == '--joblog') {