From 26604a651b4b5b27b5041a3d8644c2403c1a859a Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 24 Jun 2015 14:09:24 -0700 Subject: [PATCH] bin/cli.php - Accept `-J` as alias for `--json` --- bin/cli.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') { -- 2.25.1