Syntax error when attempt ZSH completion for ValueEnum
variants
#4053
Labels
A-completion
Area: completion generator
C-bug
Category: Updating dependencies
E-easy
Call for participation: Experience needed to fix: Easy / not much
Notes
This bug is very specific to my application that I haven't managed to create a minimal reproducible code yet. So instead, I'll be providing links to my application.
Please complete the following tasks
Rust Version
1.62.1
Clap Version
3.2.16
Minimal reproducible code
N/A
Steps to reproduce
/usr/bin/pdu
. Or alternatively, installpdu
./usr/share/zsh/site-functions/_pdu
(this file was generated by./generate-completion.sh
).pdu --bytes-format=
and then press Tab.Actual Behaviour
The following error appears:
Expected Behaviour
A completion menu of
plain
,metric
, andbinary
should appear to let user choose.Additional Context
Args
struct: https://github.com/KSXGitHub/parallel-disk-usage/blob/0.8.2/src/args.rsIf you have an Arch Linux machine, you can also install the AUR package (bin version).
Debug Output
No response
The text was updated successfully, but these errors were encountered: