commander-openflighthpc 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/commander/runner.rb +2 -2
- data/lib/commander/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7fc6691e8844c97ef13db4d9b8eafca04d32920f1dd0cee917c16ad9af3d276
|
4
|
+
data.tar.gz: 17373b733f66051a671da4ae2f0137b6fc560806e0404ebeba0f392ed808ab7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b7ba1a31614a256b4c4c61d39f4b7684ff6abdf07a75073b21284d3e62b8a9a24de4c85da756cd6063d1b88cb91a79a1cbdd8829cda3e7af30eec6f40ceb997
|
7
|
+
data.tar.gz: 811fbe363a0bb1f88f558b54bcfe1098c394da7f79219b71692b79a243733b64d1735ea3c9b6063d5c9202a7b1e0258136605574af99293a3d1e8d8fe82a2c76
|
data/lib/commander/runner.rb
CHANGED
@@ -71,7 +71,7 @@ module Commander
|
|
71
71
|
remaining_args = global_parser.arguments
|
72
72
|
|
73
73
|
# Parse the command slop options
|
74
|
-
if active_command?
|
74
|
+
if active_command? && !active_command.skip_option_parsing(false)
|
75
75
|
local_parser = Slop::Parser.new(active_command.slop)
|
76
76
|
local_opts = local_parser.parse(remaining_args)
|
77
77
|
remaining_args = local_parser.arguments
|
@@ -201,7 +201,7 @@ module Commander
|
|
201
201
|
|
202
202
|
def valid_command_names_from(*args)
|
203
203
|
commands.keys.find_all do |name|
|
204
|
-
name if flagless_args_string =~ /^#{name}
|
204
|
+
name if flagless_args_string =~ /^#{name}(?![[:graph:]])/
|
205
205
|
end
|
206
206
|
end
|
207
207
|
|
data/lib/commander/version.rb
CHANGED