Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mistyping commands #2574

Closed
p0nce opened this issue Jan 30, 2023 · 0 comments
Closed

Mistyping commands #2574

p0nce opened this issue Jan 30, 2023 · 0 comments
Labels
diagnostic enhancement good first issue Good for newcomers to fix in a PR

Comments

@p0nce
Copy link
Contributor

p0nce commented Jan 30, 2023

Bug Description

I very often mistype:

  • dub ugprade instead of dub upgrade
  • dub clear-caches instead of dub clean-caches

Expected Behavior

Instead of displaying the full help text, suggest a more appropriate command name, like git does.

C:\Users\guill\Desktop\Dplug>git puke
git: 'puke' is not a git command. See 'git --help'.

The most similar command is
        prune
@Geod24 Geod24 added enhancement diagnostic good first issue Good for newcomers to fix in a PR labels Jan 30, 2023
elvodqa added a commit to elvodqa/dub that referenced this issue Feb 13, 2023
Suggesting similar command names
@Geod24 Geod24 closed this as completed in 5c1e5dc Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diagnostic enhancement good first issue Good for newcomers to fix in a PR
Projects
None yet
Development

No branches or pull requests

2 participants