You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.
use clap::{ArgEnum,Clap,IntoApp};use clap_generate::generators;fnmain(){
clap_generate::generate::<generators::Fish,_>(&mutApp::into_app(),"clap-issue",&mut std::io::stdout(),);}#[derive(Clap)]structApp{#[clap(arg_enum)]arg:A,}#[derive(ArgEnum)]enumA{A,B,}
Steps to reproduce the bug with the above code
cargo run
Actual Behaviour
complete -c clap-issue -s h -l help -d 'Print help information'complete -c clap-issue -s V -l version -d 'Print version information'
Expected Behaviour
complete -c clap-issue -s h -l help -d 'Print help information'complete -c clap-issue -s V -l version -d 'Print version information'complete -c clap-issue -r -f -a "a b"
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered:
Issue by ModProg
Friday Aug 20, 2021 at 00:44 GMT
Originally opened as clap-rs/clap#2729
Rust Version
rustc 1.54.0 (a178d0322 2021-07-26)
Clap Version
master
Minimal reproducible code
Steps to reproduce the bug with the above code
cargo run
Actual Behaviour
Expected Behaviour
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: