summaryrefslogtreecommitdiffstats
path: root/bin/ralsh
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-04-21 00:20:19 -0700
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commitb6e2ce6a85c953fcd57a3b837ccaa794a634dc22 (patch)
tree66ef5c62bed72f4784a6505c22aa2d3db9ecb1dd /bin/ralsh
parentb0737228b8b56019e417d68d7215270ce282f535 (diff)
downloadpuppet-b6e2ce6a85c953fcd57a3b837ccaa794a634dc22.tar.gz
puppet-b6e2ce6a85c953fcd57a3b837ccaa794a634dc22.tar.xz
puppet-b6e2ce6a85c953fcd57a3b837ccaa794a634dc22.zip
feature #2276 Single Executable: help info
Change the --help text to match the new single executable invocations Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
Diffstat (limited to 'bin/ralsh')
-rwxr-xr-xbin/ralsh17
1 files changed, 9 insertions, 8 deletions
diff --git a/bin/ralsh b/bin/ralsh
index c99672ae4..00a6925a1 100755
--- a/bin/ralsh
+++ b/bin/ralsh
@@ -7,8 +7,9 @@
#
# = Usage
#
-# ralsh [-h|--help] [-d|--debug] [-v|--verbose] [-e|--edit] [-H|--host <host>]
-# [-p|--param <param>] [-t|--types] type <name>
+# puppet resource [-h|--help] [-d|--debug] [-v|--verbose] [-e|--edit]
+# [-H|--host <host>] [-p|--param <param>] [-t|--types]
+# type <name>
#
# = Description
#
@@ -16,12 +17,12 @@
# into Puppet code, along with some ability to use Puppet to affect the current
# state.
#
-# By default, you must at least provide a type to list, which case ralsh
+# By default, you must at least provide a type to list, which case puppet resource
# will tell you everything it knows about all instances of that type. You can
-# optionally specify an instance name, and ralsh will only describe that single
+# optionally specify an instance name, and puppet resource will only describe that single
# instance.
#
-# You can also add +--edit+ as an argument, and ralsh will write its output
+# You can also add +--edit+ as an argument, and puppet resource will write its output
# to a file, open that file in an editor, and then apply the file as a Puppet
# transaction. You can easily use this to use Puppet to make simple changes to
# a system.
@@ -63,9 +64,9 @@
#
# = Example
#
-# This example uses ``ralsh`` to return Puppet configuration for the user ``luke``::
+# This example uses ``puppet resource`` to return Puppet configuration for the user ``luke``::
#
-# $ ralsh user luke
+# $ puppet resource user luke
# user { 'luke':
# home => '/home/luke',
# uid => '100',
@@ -85,5 +86,5 @@
# Copyright (c) 2005-2007 Reductive Labs, LLC
# Licensed under the GNU Public License
-require 'puppet/application/ralsh'
+require 'puppet/application/resource'
Puppet::Application[:resource].run