We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f88a466 commit 996b6eaCopy full SHA for 996b6ea
1 file changed
script/mech-dump
@@ -49,10 +49,10 @@ sub completions {
49
my (@words) = @_;
50
my @opts;
51
foreach ( sort keys %command_line_options ) {
52
- if (m/^ (?<opt> [^!]{1,}) ! $/msx) {
+ if (m/^ (?<opt> [^!]+) ! $/msx) {
53
push @opts, $+{opt}, 'no-' . $+{opt};
54
}
55
- elsif (m/^ (?<opt> [^=]{1,}) = [siof]{1} $/msx) {
+ elsif (m/^ (?<opt> [^=]+) = [siof]{1} $/msx) {
56
push @opts, ( split qr{\|}, $+{opt} );
57
58
else {
0 commit comments