From 2e7a39d1d5bd897d9648fc38fedf07aa061be2df Mon Sep 17 00:00:00 2001 From: dana Date: Sun, 21 Jun 2026 02:38:38 +0000 Subject: 54831: comparguments: treat empty description as if missing --- Test/Y03arguments.ztst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Test') diff --git a/Test/Y03arguments.ztst b/Test/Y03arguments.ztst index f58fa4123..b118f2626 100644 --- a/Test/Y03arguments.ztst +++ b/Test/Y03arguments.ztst @@ -823,6 +823,14 @@ F:shouldn't offer -t in the first case (with stacked options) >line: {tst -x}{} >DESCRIPTION:{%2Fxargdesc%f} + tst_arguments : -x '-y[]' + comptest $'tst -\t' +0:empty description +>line: {tst -}{} +>DESCRIPTION:{option} +>NO:{-x} +>NO:{-y} + %clean zmodload -ui zsh/zpty -- cgit v1.3.1