Skip to content

Commit

Permalink
set up for universal2 builds, small renaming avoiding hyphens
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveAlexander committed Jun 3, 2023
1 parent 6414888 commit 71dfd08
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name = "email_sigs"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "email-sigs"
name = "email_sigs"
path = "src/bin/email_sigs.rs"
test = false
bench = false

Expand Down
14 changes: 7 additions & 7 deletions src/bin/email-sigs.rs → src/bin/email_sigs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,18 @@ fn main() -> Result<(), Box<dyn Error>> {

if args.help {
println!(
r#"mail-sigs: Update Mail.app email signatures
r#"email_sigs: Update Mail.app email signatures
Signatures are updated for all accounts, with a prefixed id.
The default prefix is <{}>, but this can be overridden.
Usage:
mail-sigs -h | --help
mail-sigs --prefix "custom prefix "
mail-sigs FILENAME1 FILENAME2 FILENAME3
mail-sigs --prefix "custom prefix " FILENAME1 FILENAME2 FILENAME3
mail-sigs --erase-all # erases signatures with default prefix
mail-sigs --prefix "custom prefix " --erase-all
email_sigs -h | --help
email_sigs --prefix "custom prefix "
email_sigs FILENAME1 FILENAME2 FILENAME3
email_sigs --prefix "custom prefix " FILENAME1 FILENAME2 FILENAME3
email_sigs --erase-all # erases signatures with default prefix
email_sigs --prefix "custom prefix " --erase-all
"#,
default_prefix()
);
Expand Down

0 comments on commit 71dfd08

Please sign in to comment.