File tree Expand file tree Collapse file tree 1 file changed +57
-1
lines changed
Expand file tree Collapse file tree 1 file changed +57
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,63 @@ pattern = [
77suggest = [
88'''
99#[err_contains(did you mean)]
10- {{command[0]}} {{err::(?:did you mean `)(.*)(?:`\?)}} {{command[2:]}} '''
10+ {{command[0]}} {{err::(?:did you mean `)(.*)(?:`\?)}} {{command[2:]}} ''' ,
11+ '''
12+ #[err_contains(a command with a similar name exists)]
13+ {{command[0]}} {{err::(?:a command with a similar name exists: `)(\S+)(?:`)}} {{command[2:]}} ''' ,
14+ '''
15+ #[!err_contains(did you mean),
16+ !err_contains(a command with a similar name exists)]
17+ {{command[0]}} {{typo[1](
18+ add,
19+ bench,
20+ build,
21+ check,
22+ clean,
23+ clippy,
24+ config,
25+ deb,
26+ doc,
27+ expand,
28+ fetch,
29+ fix,
30+ fmt,
31+ generate-lockfil,
32+ generate-rpm,
33+ git-checkout,
34+ help,
35+ info,
36+ init,
37+ install,
38+ lipo,
39+ locate-project,
40+ login,
41+ logout,
42+ make,
43+ metadata,
44+ miri,
45+ new,
46+ owner,
47+ package,
48+ pkgid,
49+ publish,
50+ read-manifest,
51+ remove,
52+ report,
53+ rm,
54+ run,
55+ rustc,
56+ rustdoc,
57+ search,
58+ test,
59+ tree,
60+ uninstall,
61+ update,
62+ vendor,
63+ verify-project,
64+ version,
65+ yank
66+ )}} {{command[2:]}} ''' ,
1167]
1268
1369[[match_err ]]
You can’t perform that action at this time.
0 commit comments