lib/cloudkick/commands/parallel.rb in cloudkick-0.2.15 vs lib/cloudkick/commands/parallel.rb in cloudkick-0.2.16
- old
+ new
@@ -1,10 +1,10 @@
require 'tempfile'
module Cloudkick::Command
class Pssh < Base
def index
- unless args.size % 2 == 1 and args.size <= 5
+ unless args.size > 0
raise CommandFailed, 'usage: cloudkick pssh --query <query> ' \
'<command> ' \
'[--username <username>]'
end