From f35c88680da65ab1711445ffce870ba8b6dca9d1 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Thu, 11 Jan 2024 21:17:09 +0100 Subject: [PATCH] Consistent naming for binaries --- Cargo.toml | 2 +- README.md | 2 +- src/bin/{mh-edit.rs => musichoard-edit.rs} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/bin/{mh-edit.rs => musichoard-edit.rs} (98%) diff --git a/Cargo.toml b/Cargo.toml index 9fe2d21..9c02ace 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ name = "musichoard" required-features = ["bin", "database-json", "library-beets", "ssh-library", "tui"] [[bin]] -name = "mh-edit" +name = "musichoard-edit" required-features = ["bin", "database-json"] [package.metadata.docs.rs] diff --git a/README.md b/README.md index 36f6a45..f0d1207 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ grcov codecov/debug/profraw \ --ignore-not-existing \ --ignore "tests/*" \ --ignore "src/main.rs" \ - --ignore "src/bin/mh-edit.rs" \ + --ignore "src/bin/musichoard-edit.rs" \ --excl-start "GRCOV_EXCL_START|mod tests \{" \ --excl-stop "GRCOV_EXCL_STOP" \ --output-path ./codecov/debug/coverage/ diff --git a/src/bin/mh-edit.rs b/src/bin/musichoard-edit.rs similarity index 98% rename from src/bin/mh-edit.rs rename to src/bin/musichoard-edit.rs index daef105..b4261ce 100644 --- a/src/bin/mh-edit.rs +++ b/src/bin/musichoard-edit.rs @@ -11,7 +11,7 @@ use musichoard::{ type MH = MusicHoard>; #[derive(StructOpt, Debug)] -#[structopt(about = "mh-edit: edit the MusicHoard database", +#[structopt(about = "musichoard-edit: edit the MusicHoard database", global_settings=&[AppSettings::DeriveDisplayOrder])] struct Opt { #[structopt(