Skip to content

Commit

Permalink
fix(chore): delete -h option for help command
Browse files Browse the repository at this point in the history
  • Loading branch information
kyu08 committed Jun 13, 2024
1 parent 9c50c64 commit 5d46b9d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/README-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/README-fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/usecase/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<()> {
Expand Down

0 comments on commit 5d46b9d

Please sign in to comment.