lib/conjur/cli.rb in conjur-cli-4.26.0 vs lib/conjur/cli.rb in conjur-cli-4.27.0

- old
+ new

@@ -61,10 +61,10 @@ # Horible hack! # We want to support legacy commands like host:list, but we don't want to # do too much effort, and GLIs support for aliasing doesn't work out so well with # subcommands. def run args - args = args.shift.split(':') + args unless args.empty? + args = args.shift.split(':') + args unless args.empty? super args end def load_plugins # These used to be plugins but now they are in the core CLI