0
0
mirror of https://github.com/thegeeklab/retry.git synced 2024-11-21 13:10:39 +00:00

duh, no argument execution fix

This commit is contained in:
Neville Kadwa 2015-03-26 15:12:26 -04:00
parent b02ed5a380
commit 4f631d0130
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class RetryIt
def run(args)
if (["-h", "-?", "--help"].include? args[0])
if (args.size < 1 || ["-h", "-?", "--help"].include?(args[0]))
load_options(args)
end

View File

@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = 'retryit'
s.version = '0.1.0'
s.version = '0.1.1'
s.summary = "retry any command line"
s.description = "General purpose retry cli program for anything"
s.authors = ["Neville Kadwa"]