Sebastian Thiel
06e869b518
feat(did-you-mean): for subcommands
...
If an argument is not understood as subcommand, but has a
high-confidence match in the list of all known subcommands, we will use
this one to print a customized error message.
Previously, it would say that a positional argument wasn't understood,
now it will say that a subcommand was unknown, and if the user meant
`high-confidence-candidate`.
If the argument doesn't sufficiently match any subcommand, the default
handling will take over and try to treat it as positional argument.
* added dependency to `strsym` crate
* new `did_you_mean` function uses `strsim::jaro_winkler(...)` to look
for good candidates.
Related to #103
2015-05-05 17:12:20 -04:00
Kevin K
632c89bf26
chore(clap): increase version
2015-05-05 17:12:20 -04:00
Kevin K
4a23f1b484
chore(clap): increase version
2015-05-03 20:36:22 -04:00
Kevin K
37a925d2b9
chore(clap): increase version
2015-05-03 17:11:05 -04:00
Kevin K
0b165e28ca
chore(clap): increase version
2015-05-03 16:29:17 -04:00
Kevin K
4a11b30066
chore(clap): increase version
2015-05-03 00:41:53 -04:00
Sebastian Thiel
2126525ccc
chore(cargo): fix documentation URL
2015-05-01 17:13:41 +02:00
Kevin K
9fa6ea7cc6
chore(clap): increase version
2015-04-30 22:21:23 -04:00
Kevin K
abc31077b0
chore(clap): increase version
2015-04-30 19:59:45 -04:00
Kevin K
9e6af520a3
chore(clap): increase version
2015-04-28 23:49:59 -04:00
Kevin K
1c92ed0e72
chore(docs): change makefile -> travis auto cargo doc and upload
2015-04-28 23:18:08 -04:00
Kevin K
784b8c7254
chore(clap): increase version
2015-04-27 00:59:58 -04:00
Kevin K
258c97867d
chore(clap): increase version
2015-04-22 16:30:45 -04:00
Kevin K
bba6196fdc
chore(clap): increase version
2015-04-19 14:42:41 -04:00
Kevin K
d7bf519acf
chore(clap): increase version
2015-04-18 22:32:29 -04:00
Kevin K
f0eea9da43
chore(clap): increase version
2015-04-17 11:23:19 -04:00
Kevin K
6ec7a748f4
chore(clap): increase version
2015-04-16 14:25:20 -04:00
Kevin K
c9f9e38377
chore(clap): increase version
2015-04-14 15:47:03 -04:00
Kevin K
72b315d792
chore(clap): increase version
2015-04-13 18:13:19 -04:00
Kevin K
b302b8bcd8
chore(clap): increase version
2015-04-13 15:39:24 -04:00
Kevin K
2e3dc49a9a
chore(clap): increase version
2015-04-10 12:00:58 -04:00
Kevin K
be91c5f2f5
chore(clap): increase version
2015-04-09 18:49:59 -04:00
Kevin K
2041cc4fda
chore(clap): increase version
2015-04-05 20:26:12 -04:00
Kevin K
4572c79218
chore(clap): increase version
2015-04-04 16:19:34 -04:00
Kevin K
b1cf77190e
chore(clap): increase version
2015-04-03 11:52:18 -04:00
Kevin K
6dc80fde3f
chore(clap): increase version
2015-04-03 11:08:22 -04:00
Kevin K
c238b49ba9
chore(clap): increased version
2015-04-02 22:47:52 -04:00
Kevin K
e095f6268d
chore(clap): increase version
2015-04-01 13:22:53 -04:00
Kevin K
918f52ea35
chore(clap): increase version
2015-04-01 13:22:53 -04:00
Kevin K
bddf50e810
chore(clap): increase version
2015-04-01 13:22:53 -04:00
Kevin K
c0ef006861
chore(clap): increase version
2015-04-01 13:22:53 -04:00
Kevin K
cdc32eb469
chore(clap): increase version
2015-04-01 13:22:52 -04:00
Kevin K
f244ca6f9a
chore(clap): increase version
2015-04-01 13:02:46 -04:00
Kevin K
c214f72fb1
chore(clap): increase version
2015-04-01 13:00:48 -04:00
Kevin K
70ecb0a0e5
chore(clap): increase version
2015-04-01 12:56:34 -04:00
Kevin K
16a609183a
chore(clap): increase version
2015-04-01 12:50:35 -04:00
Kevin K
24ec2da5bf
chore(clap): increase version
2015-04-01 12:46:25 -04:00
Kevin K
012ff7f8a9
chore(clap): increase version
2015-04-01 12:41:54 -04:00
Kevin K
427eaff25e
Updated cargo.toml
2015-03-24 16:30:44 -04:00
Kevin K
b047104d9a
version bump and rebuilt docs
2015-03-24 14:35:47 -04:00
Kevin K
c7f22728f1
Added test application
2015-03-24 12:16:59 -04:00
Kevin K
a85bc49185
version bump
2015-03-23 22:40:18 -04:00
Kevin K
aed37da635
Bug fixes with multiple options
2015-03-22 22:48:46 -04:00
Kevin K
46bcf02a2f
Bug fixes
2015-03-22 22:26:07 -04:00
Kevin K
76e374e527
Version bump and rebuilt docs
2015-03-22 22:04:17 -04:00
Kevin K
0f7bc363ce
Moved tests to tests/ directory and crate
2015-03-22 21:57:02 -04:00
Kevin K
b7843a241f
Bumped version
2015-03-21 10:30:28 -04:00
Kevin K.
adbce3bdc4
Excluded examples/
2015-03-20 14:11:19 -04:00
Kevin K
ac91f2a38e
Inc'ed version after PR #21 - doc copy commands to Makefile
2015-03-19 07:55:33 -04:00
Kevin K
641972c3ad
Inc'ed version after PR #15 and #16 - fixed formatting error in examples
2015-03-18 22:00:01 -04:00