diff options
author | Lee Jarvis <leejarvis@fastmail.com> | 2020-01-28 14:23:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 14:23:48 +0000 |
commit | 36431f756e2c3dea3afa79ac4b4afc5d13ada7f0 (patch) | |
tree | e16f9f441a7488accdd2bb7f1ef8216d6cd9eada | |
parent | 0a44dfe8594e5a3fc86d557ab8140434900990d2 (diff) | |
parent | a64db7e5d3abe7177d2ef5be2238223dcc107aa4 (diff) | |
download | slop-36431f756e2c3dea3afa79ac4b4afc5d13ada7f0.tar.gz |
Merge pull request #251 from tmatilai/keyword_arg
Fix one more keyword argument warning
-rw-r--r-- | lib/slop.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/slop.rb b/lib/slop.rb index cded956..adf5b8f 100644 --- a/lib/slop.rb +++ b/lib/slop.rb @@ -20,7 +20,7 @@ module Slop # # Returns a Slop::Result. def self.parse(items = ARGV, **config, &block) - Options.new(config, &block).parse(items) + Options.new(**config, &block).parse(items) end # Example: |