Update lib.rs

This commit is contained in:
8LWXpg 2024-11-29 22:08:03 +08:00 committed by GitHub
parent acabb8185d
commit 518fedcd64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,16 +22,13 @@
//!
//! fn build_cli() -> Command {
//! Command::new("example")
//! .arg(Arg::new("file")
//! .help("some input file")
//! .value_hint(ValueHint::AnyPath),
//! )
//! .arg(
//! Arg::new("generator")
//! .long("generate")
//! .action(ArgAction::Set)
//! .value_parser(value_parser!(Shell)),
//! )
//! .arg(Arg::new("file")
//! .help("some input file")
//! .value_hint(ValueHint::AnyPath))
//! .arg(Arg::new("generator")
//! .long("generate")
//! .action(ArgAction::Set)
//! .value_parser(value_parser!(Shell)))
//! }
//!
//! fn print_completions<G: Generator>(gen: G, cmd: &mut Command) {