projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2341a9
)
bin/cli.php - Accept `-J` as alias for `--json`
author
Tim Otten
<totten@civicrm.org>
Wed, 24 Jun 2015 21:09:24 +0000
(14:09 -0700)
committer
Tim Otten
<totten@civicrm.org>
Wed, 24 Jun 2015 21:09:24 +0000
(14:09 -0700)
bin/cli.class.php
patch
|
blob
|
blame
|
history
diff --git
a/bin/cli.class.php
b/bin/cli.class.php
index 03bf0574632f6e903e7d4f635c170c449672f000..9a569b0cc9235ab826a31304391bccab5fbb294d 100644
(file)
--- 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') {