Skip to content

Commit

Permalink
Merge pull request #580 from googlefonts/simplify-incremental-flag
Browse files Browse the repository at this point in the history
[fontc/args] don't take true|false argument in --incremental
  • Loading branch information
anthrotype authored Nov 20, 2023
2 parents ece0d17 + d9f0704 commit dc25299
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions fontc/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,7 @@ pub struct Args {
source: Option<PathBuf>,

/// Whether to write IR to disk. Must be true if you want incremental compilation.
#[arg(
short,
long,
num_args = 0..=1,
default_value = "false",
default_missing_value = "true",
// pre-existing long name kept as alias for backwards compatibility
alias = "emit-ir",
action = ArgAction::Set,
)]
#[arg(short, long, default_value = "false")]
pub incremental: bool,

/// Output file name (default: build/font.ttf)
Expand Down

0 comments on commit dc25299

Please sign in to comment.