bin/facter in facter-1.3.7 vs bin/facter in facter-1.3.8
- old
+ new
@@ -4,11 +4,11 @@
#
# Collect and display facts about the system.
#
# = Usage
#
-# facter [-d|--debug] [-h|--help] [-v|--version] [fact] [fact] [...]
+# facter [-d|--debug] [-h|--help] [-v|--version] [-y|--yaml] [fact] [fact] [...]
#
# = Description
#
# Collect and display facts about the current system. The library behind
# Facter is easy to expand, making Facter an easy way to collect information
@@ -25,10 +25,13 @@
# Print this help message
#
# version::
# Print the version and exit.
#
+# yaml::
+# Emit facts in YAML format.
+#
# = Example
#
# facter kernel
#
# = Author
@@ -44,9 +47,10 @@
require 'facter'
$haveusage = true
begin
+ require 'rdoc/ri/ri_paths'
require 'rdoc/usage'
rescue Exception
$haveusage = false
end