diff --git a/CREDITS.md b/CREDITS.md index ca2d1cf..8329879 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -1,7 +1,7 @@ # Project Dependencies Package: cargo-bashman - Version: 0.5.1 - Generated: 2024-10-17 20:05:20 UTC + Version: 0.5.2 + Generated: 2024-10-17 20:26:26 UTC | Package | Version | Author(s) | License | | ---- | ---- | ---- | ---- | @@ -9,7 +9,7 @@ | [adler2](https://github.com/oyvindln/adler2) | 2.0.0 | [Jonas Schievink](mailto:jonasschievink@gmail.com) and [oyvindln](mailto:oyvindln@users.noreply.github.com) | 0BSD, Apache-2.0, or MIT | | [ahash](https://github.com/tkaitchuck/ahash) | 0.8.11 | [Tom Kaitchuck](mailto:tom.kaitchuck@gmail.com) | Apache-2.0 or MIT | | [argyle](https://github.com/Blobfolio/argyle) | 0.10.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | -| [bashman_core](https://github.com/Blobfolio/bashman) | 0.5.1 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL | +| [bashman_core](https://github.com/Blobfolio/bashman) | 0.5.2 | [Josh Stoik](mailto:josh@blobfolio.com) | WTFPL | | [camino](https://github.com/camino-rs/camino) | 1.1.9 | [Without Boats](mailto:saoirse@without.boats), [Ashley Williams](mailto:ashley666ashley@gmail.com), [Steve Klabnik](mailto:steve@steveklabnik.com), and [Rain](mailto:rain@sunshowers.io) | Apache-2.0 or MIT | | [cargo-platform](https://github.com/rust-lang/cargo) | 0.1.8 | | Apache-2.0 or MIT | | [cargo_metadata](https://github.com/oli-obk/cargo_metadata) | 0.18.1 | [Oliver Schneider](mailto:git-spam-no-reply9815368754983@oli-obk.de) | MIT | diff --git a/bashman/Cargo.toml b/bashman/Cargo.toml index 0631638..0aeb068 100644 --- a/bashman/Cargo.toml +++ b/bashman/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-bashman" -version = "0.5.1" +version = "0.5.2" license = "WTFPL" authors = ["Josh Stoik "] edition = "2021" diff --git a/bashman/src/main.rs b/bashman/src/main.rs index 7f5783e..3bbcdae 100644 --- a/bashman/src/main.rs +++ b/bashman/src/main.rs @@ -103,7 +103,9 @@ fn _main() -> Result<(), BashManError> { }, // Nothing else is expected. - Argument::Other(s) => return Err(BashManError::InvalidCli(s.into_boxed_str())), + Argument::Other(s) => if s != "bashman" { + return Err(BashManError::InvalidCli(s.into_boxed_str())) + }, Argument::InvalidUtf8(s) => return Err(BashManError::InvalidCli(s.to_string_lossy().into_owned().into_boxed_str())), _ => {}, } diff --git a/bashman_core/Cargo.toml b/bashman_core/Cargo.toml index c1b5c01..4255f50 100644 --- a/bashman_core/Cargo.toml +++ b/bashman_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bashman_core" -version = "0.5.1" +version = "0.5.2" license = "WTFPL" authors = ["Josh Stoik "] edition = "2021" diff --git a/release/man/cargo-bashman.1 b/release/man/cargo-bashman.1 index 127fc86..eda63b3 100644 --- a/release/man/cargo-bashman.1 +++ b/release/man/cargo-bashman.1 @@ -1,6 +1,6 @@ -.TH "CARGO BASHMAN" "1" "October 2024" "cargo\-bashman v0.5.1" "User Commands" +.TH "CARGO BASHMAN" "1" "October 2024" "cargo\-bashman v0.5.2" "User Commands" .SH NAME -CARGO BASHMAN \- Manual page for cargo\-bashman v0.5.1. +CARGO BASHMAN \- Manual page for cargo\-bashman v0.5.2. .SH DESCRIPTION A Cargo plugin to generate BASH completions and MAN pages. .SS USAGE: