summaryrefslogtreecommitdiffstats
path: root/bin/facter
diff options
context:
space:
mode:
authorJohn E. Vincent <lusis.org+github.com@gmail.com>2010-11-04 00:07:06 -0400
committerJohn E. Vincent <lusis.org+github.com@gmail.com>2010-11-04 00:07:06 -0400
commit1fa87a9c1ed9f9a841936615d27c61dc1d2d7fce (patch)
treee73347000ef7b70c93e67f25cd83a1bfefdb0f03 /bin/facter
parent7e35d98964b3534281b3d1f164e548a86fce18dd (diff)
downloadfacter-1fa87a9c1ed9f9a841936615d27c61dc1d2d7fce.tar.gz
facter-1fa87a9c1ed9f9a841936615d27c61dc1d2d7fce.tar.xz
facter-1fa87a9c1ed9f9a841936615d27c61dc1d2d7fce.zip
JSON support. Works in 1.9.1. Warnings in 1.9.2. LoadError on 1.8.7 for some reason
Diffstat (limited to 'bin/facter')
-rwxr-xr-xbin/facter5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/facter b/bin/facter
index 9d3b49c..622d72e 100755
--- a/bin/facter
+++ b/bin/facter
@@ -6,7 +6,7 @@
#
# = Usage
#
-# facter [-d|--debug] [-h|--help] [-p|--puppet] [-v|--version] [-y|--yaml] [fact] [fact] [...]
+# facter [-d|--debug] [-h|--help] [-p|--puppet] [-v|--version] [-y|--yaml] [-j|--json] [fact] [fact] [...]
#
# = Description
#
@@ -21,6 +21,9 @@
# yaml::
# Emit facts in YAML format.
#
+# json::
+# Emit facts in JSON format.
+#
# puppet::
# Load the Puppet libraries, thus allowing Facter to load Puppet-specific facts.
#