Skip to content

Commit

Permalink
fix(bindings/cli): Rename --config to --config-json (#6932)
Browse files Browse the repository at this point in the history
  • Loading branch information
titanous authored Feb 10, 2023
1 parent 0559f2c commit cb4436b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bindings/swc_cli/src/commands/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ use crate::util::trace::init_trace;
/// Configuration option for transform files.
#[derive(Parser)]
pub struct CompileOptions {
/// Experimental: provide additional configuration to override the .swcrc.
/// Can be used to provide experimental plugin configuration,
/// Experimental: provide an additional JSON config object to override the
/// .swcrc. Can be used to provide experimental plugin configuration,
/// including plugin imports that are explicitly relative, starting with `.`
/// or `..`
#[clap(long, value_parser = parse_config)]
#[clap(long = "config-json", value_parser = parse_config)]
config: Option<Config>,

/// Path to a .swcrc file to use
Expand Down

0 comments on commit cb4436b

Please sign in to comment.