Skip to content

Commit

Permalink
require target argument
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Aug 25, 2021
1 parent f3e4d04 commit 3b5756d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Expand Up @@ -26,7 +26,7 @@ fn try_main() -> Result<()> {
.long_about(
"works like `sort`, but sorts according to edit distance instead of alphanumerically.\n\nYou can choose the edit distance algorithm we use for this! If you don't know which one you need, Levenshtein is a good default. Try Jaro-Winkler if you care about your strings having similar prefixes (for example files in a project.)"
)
.arg(Arg::new("target").about("sort according to distance from this string"))
.arg(Arg::new("target").about("sort according to distance from this string").required(true))
.arg(
Arg::new("levenshtein")
.long("levenshtein")
Expand Down

0 comments on commit 3b5756d

Please sign in to comment.