Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
8LWXpg authored Nov 29, 2024
1 parent acabb81 commit 518fedc
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions clap_complete/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 518fedc

Please sign in to comment.