~soywod/pimalaya

mml: Change command name to "mml" v1 APPLIED

Hugo Osvaldo Barrera: 1
 Change command name to "mml"

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~soywod/pimalaya/patches/44036/mbox | git am -3
Learn more about email & git

[PATCH mml] Change command name to "mml" Export this patch

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