summaryrefslogtreecommitdiff
path: root/lib/optparse/shellwords.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/optparse/shellwords.rb')
-rw-r--r--lib/optparse/shellwords.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/optparse/shellwords.rb b/lib/optparse/shellwords.rb
new file mode 100644
index 0000000000..75cb57b72b
--- /dev/null
+++ b/lib/optparse/shellwords.rb
@@ -0,0 +1,6 @@
+# -*- ruby -*-
+
+require 'shellwords'
+require 'optparse'
+
+OptionParser.accept(Shellwords) {|s| Shellwords.shellwords(s)}