summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-09-17 21:46:05 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-09-17 21:46:05 +0000
commit23d3c93d31d242e1b3f22ac381d5defca088d312 (patch)
treeeea72265ae3f969c8e7833a16b44f840989fb85d /bin
parenta345931bccd2809aee35dcdaf6a3ef1d21db8c26 (diff)
adding --noop to puppet executable, and removing some extraneous comments
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@688 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin')
-rwxr-xr-xbin/puppet4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/puppet b/bin/puppet
index a6bf90c61..d3eead009 100755
--- a/bin/puppet
+++ b/bin/puppet
@@ -65,12 +65,14 @@ result = GetoptLong.new(
[ "--help", "-h", GetoptLong::NO_ARGUMENT ],
[ "--logdest", "-l", GetoptLong::REQUIRED_ARGUMENT ],
[ "--verbose", "-v", GetoptLong::NO_ARGUMENT ],
+ [ "--noop", "-n", GetoptLong::NO_ARGUMENT ],
[ "--parse-only", "-p", GetoptLong::NO_ARGUMENT ],
[ "--version", "-V", GetoptLong::NO_ARGUMENT ]
)
debug = false
verbose = false
+noop = false
logfile = false
parseonly = false
@@ -87,6 +89,8 @@ begin
puts "No help available unless you have RDoc::usage installed"
exit
end
+ when "--noop"
+ noop = true
when "--verbose"
verbose = true
when "--parse-only"