diff options
author | Nathan Zadoks <nathan@nathan7.eu> | 2012-12-13 12:58:17 +0400 |
---|---|---|
committer | Nathan Zadoks <nathan@nathan7.eu> | 2012-12-13 12:58:17 +0400 |
commit | 2915f61cdedba718a06191d33a8c6598be59741c (patch) | |
tree | 5143b46854bc27ee6ed8d0ac1af9db79c822909a | |
parent | bd6559fbadcdee862a7cb4d9058c15c0430e0613 (diff) |
document view --json, closes #2992
-rw-r--r-- | doc/cli/view.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/cli/view.md b/doc/cli/view.md index 5ec9dc0ac..07836a5ef 100644 --- a/doc/cli/view.md +++ b/doc/cli/view.md @@ -69,7 +69,9 @@ was required by each matching version of yui3: If only a single string field for a single version is output, then it will not be colorized or quoted, so as to enable piping the output to -another command. +another command. If the field is an object, it will be output as a JavaScript object literal. + +If the --json flag is given, the outputted fields will be JSON. If the version range matches multiple versions, than each printed value will be prefixed with the version it applies to. |