diff options
author | dana <dana@dana.is> | 2025-04-13 17:15:53 -0500 |
---|---|---|
committer | dana <dana@dana.is> | 2025-04-19 18:47:00 -0500 |
commit | 494fcd1799d4d2d236d3183de12b0c99ceb83b1c (patch) | |
tree | 447370bbd20acc6c1fe36be3d7a9ccdead3c63ff /Test | |
parent | bacc78ec3f9d75ff242d0592b2f44484e1198801 (diff) | |
download | zsh-494fcd1799d4d2d236d3183de12b0c99ceb83b1c.tar.gz zsh-494fcd1799d4d2d236d3183de12b0c99ceb83b1c.zip |
53482: zparseopts -G: always add options with optional args to array with =
Diffstat (limited to 'Test')
-rw-r--r-- | Test/V12zparseopts.ztst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/V12zparseopts.ztst b/Test/V12zparseopts.ztst index a2743ea0e..e465d0e0c 100644 --- a/Test/V12zparseopts.ztst +++ b/Test/V12zparseopts.ztst @@ -247,7 +247,7 @@ 0:zparseopts -G, separate parameters >ret: 0, optv: --foo bar, argv: 1 2 3 >ret: 0, optv: --foo=bar, argv: 1 2 3 ->ret: 0, optv: --foo, argv: bar 1 2 3 +>ret: 0, optv: --foo=, argv: bar 1 2 3 for spec in -foo: -foo:- -foo::; do () { @@ -340,4 +340,4 @@ ?(anon):zparseopts:2: bad option: -f >ret: 1, gopt: -G, optv: , argv: -foobar 1 2 3 >ret: 0, gopt: -G, optv: -foo=bar, argv: 1 2 3 ->ret: 0, gopt: -G, optv: -foo, argv: bar 1 2 3 +>ret: 0, gopt: -G, optv: -foo=, argv: bar 1 2 3 |