Skip to content

Commit

Permalink
Switch relay to clap v3
Browse files Browse the repository at this point in the history
Summary:
Changes references from structopt to clap v3 in the relay compiler code. Code updated by running, while in the root directory for relay-compiler:

```
fastmod -F structopt clap .
fastmod -F clap::clap clap .
fastmod -F clap::StructOpt clap::Parser .
fastmod -F 'derive(StructOpt' 'derive(Parser' .
```

Reviewed By: alunyov

Differential Revision: D34247721

fbshipit-source-id: a98f890c689e8ffd4d751ef75219313354d74325
  • Loading branch information
jasonrogena authored and facebook-github-bot committed Feb 16, 2022
1 parent e4237b3 commit ec98987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/crates/relay-compiler/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ struct Opt {

/// Looks for pending changes and exits with non-zero code instead of
/// writing to disk
#[structopt(long)]
#[clap(long)]
validate: bool,
}

Expand Down

0 comments on commit ec98987

Please sign in to comment.