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:
parent
b02ed5a380
commit
4f631d0130
@ -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
|
||||
|
||||
|
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user