Skip to content

Commit

Permalink
feat(completions): update some completions
Browse files Browse the repository at this point in the history
- b2sum(en-US)
- b3sum(en-US)
- base32(en-US)
- base64(en-US)
- basename(en-US)
- basenc(en-US)
- cksum(en-US)
- comm(en-US)
- csplit(en-US)
  • Loading branch information
abgox committed Jun 19, 2024
1 parent 1dc05f3 commit 3ec32ed
Show file tree
Hide file tree
Showing 18 changed files with 261 additions and 137 deletions.
2 changes: 1 addition & 1 deletion completions/b2sum/guid.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5069d6e1-5eb8-4e68-8713-7fe088a9251c
03623c0e-5697-4d78-b53a-d8c1d1865c90
36 changes: 26 additions & 10 deletions completions/b2sum/language/en-US.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
{
"options": [
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "-b",
"alias": [
Expand Down Expand Up @@ -52,6 +43,10 @@
"name": "--strict",
"tip": "exit non-zero for improperly formatted checksum lines"
},
{
"name": "--ignore-missing",
"tip": "don't fail or report status for missing files"
},
{
"name": "-w",
"alias": [
Expand All @@ -66,6 +61,27 @@
],
"tip": "end each output line with NUL, not newline"
},
{
"name": "-l",
"alias": [
"--length"
],
"symbol": "WriteSpaceTab",
"tip": [
"U: -l|--length <BITS>\n",
"digest length in bits;\n",
"must not exceed the max for the blake2 algorithm (512) and must be a multiple of 8"
]
},
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "--help",
"alias": [
Expand All @@ -77,7 +93,7 @@
"info": {
"completion_info": {
"url": "https://github.com/uutils/coreutils",
"description": "b2sum - Come from [uutils/coreutils](https://github.com/uutils/coreutils)"
"description": "Come from [uutils/coreutils](https://github.com/uutils/coreutils)"
}
}
}
2 changes: 1 addition & 1 deletion completions/b3sum/guid.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fe1b417b-d7c9-4b0d-a138-04fbd5e41db4
db89645e-6ef5-4991-be24-687174d38353
36 changes: 24 additions & 12 deletions completions/b3sum/language/en-US.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
{
"options": [
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "-b",
"alias": [
Expand Down Expand Up @@ -52,6 +43,10 @@
"name": "--strict",
"tip": "exit non-zero for improperly formatted checksum lines"
},
{
"name": "--ignore-missing",
"tip": "don't fail or report status for missing files"
},
{
"name": "-w",
"alias": [
Expand All @@ -67,9 +62,26 @@
"tip": "end each output line with NUL, not newline"
},
{
"name": "--no-names",
"tip": "Omits filenames in the output (option not present in GNU/Coreutils)"
"name": "-l",
"alias": [
"--length"
],
"symbol": "WriteSpaceTab",
"tip": [
"U: -l|--length <BITS>\n",
"digest length in bits;\n",
"must not exceed the max for the blake2 algorithm (512) and must be a multiple of 8"
]
},
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "--help",
"alias": [
Expand All @@ -81,7 +93,7 @@
"info": {
"completion_info": {
"url": "https://github.com/uutils/coreutils",
"description": "b3sum - Come from [uutils/coreutils](https://github.com/uutils/coreutils)"
"description": "Come from [uutils/coreutils](https://github.com/uutils/coreutils)"
}
}
}
2 changes: 1 addition & 1 deletion completions/base32/guid.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7fe5a23d-6447-40b1-b5e3-1a599e492b9d
1f357602-840b-4e89-9096-a38eb7945e69
38 changes: 21 additions & 17 deletions completions/base32/language/en-US.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
{
"options": [
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "-w",
"alias": [
"-wrap"
],
"tip": "wrap encoded lines after COLS character (default 76, 0 to disable wrapping)"
},
{
"name": "-d",
"alias": [
Expand All @@ -30,6 +14,26 @@
],
"tip": "when decoding, ignore non-alphabetic characters"
},
{
"name": "-w",
"alias": [
"-wrap"
],
"symbol": "WriteSpaceTab",
"tip": [
"U: -w|-wrap <COLS>\n",
"wrap encoded lines after COLS character (default 76, 0 to disable wrapping)"
]
},
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "--help",
"alias": [
Expand All @@ -41,7 +45,7 @@
"info": {
"completion_info": {
"url": "https://github.com/uutils/coreutils",
"description": "base32 - Come from [uutils/coreutils](https://github.com/uutils/coreutils)"
"description": "Come from [uutils/coreutils](https://github.com/uutils/coreutils)"
}
}
}
2 changes: 1 addition & 1 deletion completions/base64/guid.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6e13f52c-5203-416b-9290-b1274783d733
f91935fd-90a4-4e18-829d-5b9e29ae5c16
38 changes: 21 additions & 17 deletions completions/base64/language/en-US.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
{
"options": [
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "-w",
"alias": [
"-wrap"
],
"tip": "wrap encoded lines after COLS character (default 76, 0 to disable wrapping)"
},
{
"name": "-d",
"alias": [
Expand All @@ -30,6 +14,26 @@
],
"tip": "when decoding, ignore non-alphabetic characters"
},
{
"name": "-w",
"alias": [
"-wrap"
],
"symbol": "WriteSpaceTab",
"tip": [
"U: -w|-wrap <COLS>\n",
"wrap encoded lines after COLS character (default 76, 0 to disable wrapping)"
]
},
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "--help",
"alias": [
Expand All @@ -41,7 +45,7 @@
"info": {
"completion_info": {
"url": "https://github.com/uutils/coreutils",
"description": "base64 - Come from [uutils/coreutils](https://github.com/uutils/coreutils)"
"description": "Come from [uutils/coreutils](https://github.com/uutils/coreutils)"
}
}
}
2 changes: 1 addition & 1 deletion completions/basename/guid.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a6394a82-fb3b-4726-b0c3-6ca6669c18a0
1d29bbb6-50ed-453c-904f-5edb05133ff3
33 changes: 18 additions & 15 deletions completions/basename/language/en-US.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
{
"options": [
{
"name": "--version",
"name": "-a",
"alias": [
"-V"
"--multiple"
],
"tip": "Show the version."
}
],
"common_options": [
"tip": "support multiple arguments and treat each as a NAME"
},
{
"name": "-s",
"alias": [
"--suffix"
],
"tip": "remove a trailing SUFFIX; implies -a"
},
{
"name": "-a",
"tip": "support multiple arguments and treat each as a NAME"
},
{
"name": "--multiple",
"tip": "support multiple arguments and treat each as a NAME"
"symbol": "WriteSpaceTab",
"tip": [
"U: -s|--suffix <SUFFIX>\n",
"remove a trailing SUFFIX; implies -a"
]
},
{
"name": "-z",
Expand All @@ -31,6 +25,15 @@
],
"tip": "end each output line with NUL, not newline"
},
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "--help",
"alias": [
Expand Down
2 changes: 1 addition & 1 deletion completions/basenc/guid.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d5c07dbe-2de7-41a7-8b79-9cf1eaf0beae
9700ced4-c4c4-49ca-91ba-370750b9fe3b
35 changes: 19 additions & 16 deletions completions/basenc/language/en-US.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
{
"options": [
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "-w",
"alias": [
"--wrap"
],
"tip": "wrap encoded lines after COLS character (default 76, 0 to disable wrapping)"
},
{
"name": "-d",
"alias": [
Expand All @@ -30,6 +14,16 @@
],
"tip": "when decoding, ignore non-alphabetic characters"
},
{
"name": "-w",
"alias": [
"--wrap"
],
"tip": [
"U: -w|--wrap <COLS>\n",
"wrap encoded lines after COLS character (default 76, 0 to disable wrapping)"
]
},
{
"name": "--base64",
"tip": "same as 'base64' program"
Expand Down Expand Up @@ -66,6 +60,15 @@
"when decoding, input length must be a multiple of 5"
]
},
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "--help",
"alias": [
Expand Down
2 changes: 1 addition & 1 deletion completions/cksum/guid.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b01895d7-271a-4412-9081-6f5cafa68d4a
13426a22-68bc-4ebf-9686-4cbefe99aeb6
Loading

0 comments on commit 3ec32ed

Please sign in to comment.