From 5d46b9d1ef7438bbf2a7faca325bdb30e4d2a68b Mon Sep 17 00:00:00 2001 From: kyu08 <49891479+kyu08@users.noreply.github.com> Date: Thu, 13 Jun 2024 23:32:49 +0900 Subject: [PATCH] fix(chore): delete `-h` option for help command --- README.md | 2 +- doc/README-de.md | 2 +- doc/README-fr.md | 2 +- src/usecase/help.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bc8fe8a..11fc957 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ cargo install --locked fzf-make | `fzf-make` | Launch fzf-make | | `fzf-make --repeat` / `fzf-make -r` / `fzf-make repeat` | Execute last executed target | | `fzf-make --history` / `fzf-make -h` / `fzf-make history` | Launch fzf-make with the history pane focused | -| `fzf-make --help` / `fzf-make -h` / `fzf-make help` | Show help | +| `fzf-make --help` / `fzf-make help` | Show help | | `fzf-make --version` / `fzf-make -v` / `fzf-make version` | Show version | # 💻 Development diff --git a/doc/README-de.md b/doc/README-de.md index 9a1245e..727954e 100644 --- a/doc/README-de.md +++ b/doc/README-de.md @@ -93,7 +93,7 @@ cargo install --locked fzf-make | `fzf-make` | Launch fzf-make | | `fzf-make --repeat` / `fzf-make -r` / `fzf-make repeat` | Execute last executed target | | `fzf-make --history` / `fzf-make -h` / `fzf-make history` | Launch fzf-make with the history pane focused | -| `fzf-make --help` / `fzf-make -h` / `fzf-make help` | Show help | +| `fzf-make --help` / `fzf-make help` | Show help | | `fzf-make --version` / `fzf-make -v` / `fzf-make version` | Show version | # 💻 Entwicklung diff --git a/doc/README-fr.md b/doc/README-fr.md index df51f3b..03c69c8 100644 --- a/doc/README-fr.md +++ b/doc/README-fr.md @@ -92,7 +92,7 @@ cargo install --locked fzf-make | `fzf-make` | Launch fzf-make | | `fzf-make --repeat` / `fzf-make -r` / `fzf-make repeat` | Execute last executed target | | `fzf-make --history` / `fzf-make -h` / `fzf-make history` | Launch fzf-make with the history pane focused | -| `fzf-make --help` / `fzf-make -h` / `fzf-make help` | Show help | +| `fzf-make --help` / `fzf-make help` | Show help | | `fzf-make --version` / `fzf-make -v` / `fzf-make version` | Show version | # 💻 Dévelopment diff --git a/src/usecase/help.rs b/src/usecase/help.rs index 080a357..2958021 100644 --- a/src/usecase/help.rs +++ b/src/usecase/help.rs @@ -11,7 +11,7 @@ impl Help { impl Usecase for Help { fn command_str(&self) -> Vec<&'static str> { - vec!["--help", "-h", "help"] + vec!["--help", "help"] } fn run(&self) -> Result<()> {