From 023b29bf3ae83f7042283216827d408d3cad547b Mon Sep 17 00:00:00 2001 From: elliottcable Date: Sat, 11 Oct 2008 03:32:22 -0800 Subject: [PATCH] Added some tail flags to the binary --- bin/jello | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/jello b/bin/jello index 8e85dfb..e874119 100755 --- a/bin/jello +++ b/bin/jello @@ -44,7 +44,14 @@ The follow moulds are included for your enjoyment: options[:period] = p end - + opts.on_tail("--help", "Show this help") do + puts opts + exit + end + opts.on_tail("--version", "Show version") do + puts "I'm Jello #{Jello::Version}!" + exit + end end.parse! ARGV.each do |mould| -- 2.11.4.GIT