summaryrefslogtreecommitdiffstats
path: root/ext/puppetstoredconfigclean.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/puppetstoredconfigclean.rb')
-rw-r--r--ext/puppetstoredconfigclean.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/puppetstoredconfigclean.rb b/ext/puppetstoredconfigclean.rb
index 1b4aabd0f..6f4aa7230 100644
--- a/ext/puppetstoredconfigclean.rb
+++ b/ext/puppetstoredconfigclean.rb
@@ -17,10 +17,13 @@ def printusage(error_code)
exit(error_code)
end
-opts = GetoptLong.new(
+
+ opts = GetoptLong.new(
+
[ "--config", "-c", GetoptLong::REQUIRED_ARGUMENT ],
[ "--help", "-h", GetoptLong::NO_ARGUMENT ],
[ "--usage", "-u", GetoptLong::NO_ARGUMENT ],
+
[ "--version", "-v", GetoptLong::NO_ARGUMENT ]
)