Skip to content

Commit

Permalink
Add --version flag — v0.1.0b1
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlcctrlv committed Jan 26, 2022
1 parent 753fd60 commit 53de262
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
*.glif
*.glif
/skia
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "MFEKpathops"
version = "0.0.0"
authors = ["Fredrick Brennan <copypasteⒶkittens.ph>", "MFEK authors"]
edition = "2018"
version = "0.1.0-beta1"
authors = ["Fredrick Brennan <copypasteⒶkittens.ph>", "MFEK Authors"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ fn main() {
#[allow(unused_mut)] // we actually use it if cfg(feature=fontforge)
let mut argparser = App::new("MFEKpathops")
.setting(AppSettings::SubcommandRequired)
.setting(AppSettings::DisableVersionFlag)
.setting(AppSettings::DisableHelpSubcommand)
.author("Fredrick R. Brennan <copypasteⒶkittens⊙ph>; MFEK Authors")
.about("A utility for applying path operations to contours (in UFO .glif format).")
.version(env!("CARGO_PKG_VERSION"))
.subcommand(boolean::clap_app())
.subcommand(fit_to_points::clap_app())
.subcommand(clear::clap_app())
Expand Down

0 comments on commit 53de262

Please sign in to comment.