~soywod/pimalaya

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH mml] Change command name to "mml"

Details
Message ID
<20230827101708.20309-2-hugo@whynothugo.nl>
DKIM signature
pass
Download raw message
Patch: +1 -1
The generated man page and completion scripts use the command name as a
base. With the command name being "mml-cli", the completion scripts
don't work as expected.

This fixes the completion scripts and man pages.
---
 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index 5b925d3..026a84e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -8,7 +8,7 @@ use env_logger::{Builder as LoggerBuilder, Env, DEFAULT_FILTER_ENV};
use std::env;

fn create_app() -> Command {
    Command::new(env!("CARGO_PKG_NAME"))
    Command::new("mml")
        .version(env!("CARGO_PKG_VERSION"))
        .about(env!("CARGO_PKG_DESCRIPTION"))
        .author(env!("CARGO_PKG_AUTHORS"))
-- 
2.42.0
Reply to thread Export thread (mbox)