@rom-weaver/cli 0.12.3 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -270
- package/docs/completions/_rom-weaver +878 -23
- package/docs/completions/rom-weaver.bash +1052 -53
- package/docs/completions/rom-weaver.elv +442 -12
- package/docs/completions/rom-weaver.fish +258 -41
- package/docs/completions/rom-weaver.ps1 +489 -12
- package/docs/man/rom-weaver-bundle-create.1 +75 -3
- package/docs/man/rom-weaver-bundle-parse.1 +4 -1
- package/docs/man/rom-weaver-bundle-schema.1 +4 -1
- package/docs/man/rom-weaver-bundle.1 +4 -1
- package/docs/man/rom-weaver-checksum.1 +28 -3
- package/docs/man/rom-weaver-completions.1 +4 -1
- package/docs/man/rom-weaver-compress.1 +58 -1
- package/docs/man/rom-weaver-extract.1 +49 -2
- package/docs/man/rom-weaver-formats.1 +66 -0
- package/docs/man/rom-weaver-identify-database-import-redump.1 +68 -0
- package/docs/man/rom-weaver-identify-database-install-all.1 +65 -0
- package/docs/man/rom-weaver-identify-database-install-group.1 +71 -0
- package/docs/man/rom-weaver-identify-database-install.1 +74 -0
- package/docs/man/rom-weaver-identify-database-list.1 +65 -0
- package/docs/man/rom-weaver-identify-database-path.1 +65 -0
- package/docs/man/rom-weaver-identify-database-remove.1 +68 -0
- package/docs/man/rom-weaver-identify-database-status.1 +65 -0
- package/docs/man/rom-weaver-identify-database-update.1 +71 -0
- package/docs/man/rom-weaver-identify-database.1 +90 -0
- package/docs/man/rom-weaver-identify.1 +123 -0
- package/docs/man/rom-weaver-patch-apply.1 +128 -68
- package/docs/man/rom-weaver-patch-create.1 +9 -3
- package/docs/man/rom-weaver-patch-validate.1 +4 -1
- package/docs/man/rom-weaver-patch.1 +4 -1
- package/docs/man/rom-weaver-probe.1 +4 -1
- package/docs/man/rom-weaver-tools-ppf-undo.1 +4 -1
- package/docs/man/rom-weaver-tools.1 +4 -1
- package/docs/man/rom-weaver-trim.1 +20 -1
- package/docs/man/rom-weaver-weave.1 +128 -68
- package/docs/man/rom-weaver.1 +11 -5
- package/package.json +14 -13
- package/docs/man/rom-weaver-ingest.1 +0 -98
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
_rom__weaver() {
|
|
2
2
|
local i cur prev opts cmd
|
|
3
3
|
COMPREPLY=()
|
|
4
4
|
if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then
|
|
@@ -31,9 +31,15 @@ _rom-weaver() {
|
|
|
31
31
|
rom__weaver,extract)
|
|
32
32
|
cmd="rom__weaver__subcmd__extract"
|
|
33
33
|
;;
|
|
34
|
+
rom__weaver,formats)
|
|
35
|
+
cmd="rom__weaver__subcmd__formats"
|
|
36
|
+
;;
|
|
34
37
|
rom__weaver,help)
|
|
35
38
|
cmd="rom__weaver__subcmd__help"
|
|
36
39
|
;;
|
|
40
|
+
rom__weaver,identify)
|
|
41
|
+
cmd="rom__weaver__subcmd__identify"
|
|
42
|
+
;;
|
|
37
43
|
rom__weaver,ingest)
|
|
38
44
|
cmd="rom__weaver__subcmd__ingest"
|
|
39
45
|
;;
|
|
@@ -97,9 +103,15 @@ _rom-weaver() {
|
|
|
97
103
|
rom__weaver__subcmd__help,extract)
|
|
98
104
|
cmd="rom__weaver__subcmd__help__subcmd__extract"
|
|
99
105
|
;;
|
|
106
|
+
rom__weaver__subcmd__help,formats)
|
|
107
|
+
cmd="rom__weaver__subcmd__help__subcmd__formats"
|
|
108
|
+
;;
|
|
100
109
|
rom__weaver__subcmd__help,help)
|
|
101
110
|
cmd="rom__weaver__subcmd__help__subcmd__help"
|
|
102
111
|
;;
|
|
112
|
+
rom__weaver__subcmd__help,identify)
|
|
113
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify"
|
|
114
|
+
;;
|
|
103
115
|
rom__weaver__subcmd__help,ingest)
|
|
104
116
|
cmd="rom__weaver__subcmd__help__subcmd__ingest"
|
|
105
117
|
;;
|
|
@@ -130,6 +142,36 @@ _rom-weaver() {
|
|
|
130
142
|
rom__weaver__subcmd__help__subcmd__bundle,schema)
|
|
131
143
|
cmd="rom__weaver__subcmd__help__subcmd__bundle__subcmd__schema"
|
|
132
144
|
;;
|
|
145
|
+
rom__weaver__subcmd__help__subcmd__identify,database)
|
|
146
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify__subcmd__database"
|
|
147
|
+
;;
|
|
148
|
+
rom__weaver__subcmd__help__subcmd__identify__subcmd__database,import-redump)
|
|
149
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__import__subcmd__redump"
|
|
150
|
+
;;
|
|
151
|
+
rom__weaver__subcmd__help__subcmd__identify__subcmd__database,install)
|
|
152
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install"
|
|
153
|
+
;;
|
|
154
|
+
rom__weaver__subcmd__help__subcmd__identify__subcmd__database,install-all)
|
|
155
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install__subcmd__all"
|
|
156
|
+
;;
|
|
157
|
+
rom__weaver__subcmd__help__subcmd__identify__subcmd__database,install-group)
|
|
158
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install__subcmd__group"
|
|
159
|
+
;;
|
|
160
|
+
rom__weaver__subcmd__help__subcmd__identify__subcmd__database,list)
|
|
161
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__list"
|
|
162
|
+
;;
|
|
163
|
+
rom__weaver__subcmd__help__subcmd__identify__subcmd__database,path)
|
|
164
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__path"
|
|
165
|
+
;;
|
|
166
|
+
rom__weaver__subcmd__help__subcmd__identify__subcmd__database,remove)
|
|
167
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__remove"
|
|
168
|
+
;;
|
|
169
|
+
rom__weaver__subcmd__help__subcmd__identify__subcmd__database,status)
|
|
170
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__status"
|
|
171
|
+
;;
|
|
172
|
+
rom__weaver__subcmd__help__subcmd__identify__subcmd__database,update)
|
|
173
|
+
cmd="rom__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__update"
|
|
174
|
+
;;
|
|
133
175
|
rom__weaver__subcmd__help__subcmd__patch,apply)
|
|
134
176
|
cmd="rom__weaver__subcmd__help__subcmd__patch__subcmd__apply"
|
|
135
177
|
;;
|
|
@@ -142,6 +184,105 @@ _rom-weaver() {
|
|
|
142
184
|
rom__weaver__subcmd__help__subcmd__tools,ppf-undo)
|
|
143
185
|
cmd="rom__weaver__subcmd__help__subcmd__tools__subcmd__ppf__subcmd__undo"
|
|
144
186
|
;;
|
|
187
|
+
rom__weaver__subcmd__identify,database)
|
|
188
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database"
|
|
189
|
+
;;
|
|
190
|
+
rom__weaver__subcmd__identify,help)
|
|
191
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help"
|
|
192
|
+
;;
|
|
193
|
+
rom__weaver__subcmd__identify__subcmd__database,help)
|
|
194
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help"
|
|
195
|
+
;;
|
|
196
|
+
rom__weaver__subcmd__identify__subcmd__database,import-redump)
|
|
197
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__import__subcmd__redump"
|
|
198
|
+
;;
|
|
199
|
+
rom__weaver__subcmd__identify__subcmd__database,install)
|
|
200
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__install"
|
|
201
|
+
;;
|
|
202
|
+
rom__weaver__subcmd__identify__subcmd__database,install-all)
|
|
203
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__install__subcmd__all"
|
|
204
|
+
;;
|
|
205
|
+
rom__weaver__subcmd__identify__subcmd__database,install-group)
|
|
206
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__install__subcmd__group"
|
|
207
|
+
;;
|
|
208
|
+
rom__weaver__subcmd__identify__subcmd__database,list)
|
|
209
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__list"
|
|
210
|
+
;;
|
|
211
|
+
rom__weaver__subcmd__identify__subcmd__database,path)
|
|
212
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__path"
|
|
213
|
+
;;
|
|
214
|
+
rom__weaver__subcmd__identify__subcmd__database,remove)
|
|
215
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__remove"
|
|
216
|
+
;;
|
|
217
|
+
rom__weaver__subcmd__identify__subcmd__database,status)
|
|
218
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__status"
|
|
219
|
+
;;
|
|
220
|
+
rom__weaver__subcmd__identify__subcmd__database,update)
|
|
221
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__update"
|
|
222
|
+
;;
|
|
223
|
+
rom__weaver__subcmd__identify__subcmd__database__subcmd__help,help)
|
|
224
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__help"
|
|
225
|
+
;;
|
|
226
|
+
rom__weaver__subcmd__identify__subcmd__database__subcmd__help,import-redump)
|
|
227
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__import__subcmd__redump"
|
|
228
|
+
;;
|
|
229
|
+
rom__weaver__subcmd__identify__subcmd__database__subcmd__help,install)
|
|
230
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install"
|
|
231
|
+
;;
|
|
232
|
+
rom__weaver__subcmd__identify__subcmd__database__subcmd__help,install-all)
|
|
233
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install__subcmd__all"
|
|
234
|
+
;;
|
|
235
|
+
rom__weaver__subcmd__identify__subcmd__database__subcmd__help,install-group)
|
|
236
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install__subcmd__group"
|
|
237
|
+
;;
|
|
238
|
+
rom__weaver__subcmd__identify__subcmd__database__subcmd__help,list)
|
|
239
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__list"
|
|
240
|
+
;;
|
|
241
|
+
rom__weaver__subcmd__identify__subcmd__database__subcmd__help,path)
|
|
242
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__path"
|
|
243
|
+
;;
|
|
244
|
+
rom__weaver__subcmd__identify__subcmd__database__subcmd__help,remove)
|
|
245
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__remove"
|
|
246
|
+
;;
|
|
247
|
+
rom__weaver__subcmd__identify__subcmd__database__subcmd__help,status)
|
|
248
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__status"
|
|
249
|
+
;;
|
|
250
|
+
rom__weaver__subcmd__identify__subcmd__database__subcmd__help,update)
|
|
251
|
+
cmd="rom__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__update"
|
|
252
|
+
;;
|
|
253
|
+
rom__weaver__subcmd__identify__subcmd__help,database)
|
|
254
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__database"
|
|
255
|
+
;;
|
|
256
|
+
rom__weaver__subcmd__identify__subcmd__help,help)
|
|
257
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__help"
|
|
258
|
+
;;
|
|
259
|
+
rom__weaver__subcmd__identify__subcmd__help__subcmd__database,import-redump)
|
|
260
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__import__subcmd__redump"
|
|
261
|
+
;;
|
|
262
|
+
rom__weaver__subcmd__identify__subcmd__help__subcmd__database,install)
|
|
263
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install"
|
|
264
|
+
;;
|
|
265
|
+
rom__weaver__subcmd__identify__subcmd__help__subcmd__database,install-all)
|
|
266
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install__subcmd__all"
|
|
267
|
+
;;
|
|
268
|
+
rom__weaver__subcmd__identify__subcmd__help__subcmd__database,install-group)
|
|
269
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install__subcmd__group"
|
|
270
|
+
;;
|
|
271
|
+
rom__weaver__subcmd__identify__subcmd__help__subcmd__database,list)
|
|
272
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__list"
|
|
273
|
+
;;
|
|
274
|
+
rom__weaver__subcmd__identify__subcmd__help__subcmd__database,path)
|
|
275
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__path"
|
|
276
|
+
;;
|
|
277
|
+
rom__weaver__subcmd__identify__subcmd__help__subcmd__database,remove)
|
|
278
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__remove"
|
|
279
|
+
;;
|
|
280
|
+
rom__weaver__subcmd__identify__subcmd__help__subcmd__database,status)
|
|
281
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__status"
|
|
282
|
+
;;
|
|
283
|
+
rom__weaver__subcmd__identify__subcmd__help__subcmd__database,update)
|
|
284
|
+
cmd="rom__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__update"
|
|
285
|
+
;;
|
|
145
286
|
rom__weaver__subcmd__patch,apply)
|
|
146
287
|
cmd="rom__weaver__subcmd__patch__subcmd__apply"
|
|
147
288
|
;;
|
|
@@ -188,7 +329,7 @@ _rom-weaver() {
|
|
|
188
329
|
|
|
189
330
|
case "${cmd}" in
|
|
190
331
|
rom__weaver)
|
|
191
|
-
opts="-v -q -h -V --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help --version probe inspect extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help"
|
|
332
|
+
opts="-v -q -y -h -V --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help --version probe inspect extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help"
|
|
192
333
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
|
|
193
334
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
194
335
|
return 0
|
|
@@ -206,7 +347,7 @@ _rom-weaver() {
|
|
|
206
347
|
return 0
|
|
207
348
|
;;
|
|
208
349
|
rom__subcmd__weaver__subcmd__bundle)
|
|
209
|
-
opts="-v -q -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help create parse schema help"
|
|
350
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help create parse schema help"
|
|
210
351
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
211
352
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
212
353
|
return 0
|
|
@@ -224,7 +365,7 @@ _rom-weaver() {
|
|
|
224
365
|
return 0
|
|
225
366
|
;;
|
|
226
367
|
rom__subcmd__weaver__subcmd__bundle__subcmd__create)
|
|
227
|
-
opts="-i -o -j -v -q -h --input --assume-in --rom-url --rom-name --patch --patch-id --patch-version --patch-name --patch-description --patch-author --patch-label --patch-optional --patch-source-url --patch-header --patch-basis --patch-expect-in --patch-expect-out --expect-out --output-name --output-header --output --bundle --bundle-rom --no-bundle-rom --checksum --from --schema-ref --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
368
|
+
opts="-i -o -j -v -q -y -h --input --assume-in --rom-url --rom-name --patch --patch-id --patch-version --patch-name --patch-description --patch-author --patch-label --patch-optional --patch-source-url --patch-header --patch-basis --patch-expect-in --patch-expect-out --expect-out --output-name --output-header --output --bundle --bundle-rom --no-bundle-rom --algo --checksum --from --schema-ref --threads --force --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
228
369
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
229
370
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
230
371
|
return 0
|
|
@@ -331,7 +472,11 @@ _rom-weaver() {
|
|
|
331
472
|
return 0
|
|
332
473
|
;;
|
|
333
474
|
--checksum)
|
|
334
|
-
COMPREPLY=($(compgen -
|
|
475
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
476
|
+
return 0
|
|
477
|
+
;;
|
|
478
|
+
--algo)
|
|
479
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
335
480
|
return 0
|
|
336
481
|
;;
|
|
337
482
|
--from)
|
|
@@ -432,7 +577,7 @@ _rom-weaver() {
|
|
|
432
577
|
return 0
|
|
433
578
|
;;
|
|
434
579
|
rom__subcmd__weaver__subcmd__bundle__subcmd__parse)
|
|
435
|
-
opts="-i -s -o -j -v -q -h --input --select --filter --no-extract --output --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
580
|
+
opts="-i -s -o -j -v -q -y -h --input --select --filter --no-extract --output --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
436
581
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
437
582
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
438
583
|
return 0
|
|
@@ -486,7 +631,7 @@ _rom-weaver() {
|
|
|
486
631
|
return 0
|
|
487
632
|
;;
|
|
488
633
|
rom__subcmd__weaver__subcmd__bundle__subcmd__schema)
|
|
489
|
-
opts="-v -q -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
634
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
490
635
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
491
636
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
492
637
|
return 0
|
|
@@ -504,7 +649,7 @@ _rom-weaver() {
|
|
|
504
649
|
return 0
|
|
505
650
|
;;
|
|
506
651
|
rom__subcmd__weaver__subcmd__checksum)
|
|
507
|
-
opts="-i -a -s -j -v -q -h --input --algo --select --filter --no-extract --no-ignore --no-trim-fix --start --length --probe --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
652
|
+
opts="-i -a -s -j -v -q -y -h --input --checksum --algo --select --filter --no-extract --no-ignore --no-trim-fix --start --length --probe --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
508
653
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
509
654
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
510
655
|
return 0
|
|
@@ -519,11 +664,15 @@ _rom-weaver() {
|
|
|
519
664
|
return 0
|
|
520
665
|
;;
|
|
521
666
|
--algo)
|
|
522
|
-
COMPREPLY=($(compgen -
|
|
667
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
668
|
+
return 0
|
|
669
|
+
;;
|
|
670
|
+
--checksum)
|
|
671
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
523
672
|
return 0
|
|
524
673
|
;;
|
|
525
674
|
-a)
|
|
526
|
-
COMPREPLY=($(compgen -
|
|
675
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
527
676
|
return 0
|
|
528
677
|
;;
|
|
529
678
|
--select)
|
|
@@ -566,7 +715,7 @@ _rom-weaver() {
|
|
|
566
715
|
return 0
|
|
567
716
|
;;
|
|
568
717
|
rom__subcmd__weaver__subcmd__completions)
|
|
569
|
-
opts="-v -q -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help bash elvish fish powershell zsh"
|
|
718
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help bash elvish fish powershell zsh"
|
|
570
719
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
571
720
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
572
721
|
return 0
|
|
@@ -584,7 +733,7 @@ _rom-weaver() {
|
|
|
584
733
|
return 0
|
|
585
734
|
;;
|
|
586
735
|
rom__subcmd__weaver__subcmd__compress)
|
|
587
|
-
opts="-i -f -o -j -v -q -h --input --format --output --codec --level --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
736
|
+
opts="-i -f -o -n -j -v -q -y -h --input --format --output --codec --level --force --dry-run --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
588
737
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
589
738
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
590
739
|
return 0
|
|
@@ -599,11 +748,11 @@ _rom-weaver() {
|
|
|
599
748
|
return 0
|
|
600
749
|
;;
|
|
601
750
|
--format)
|
|
602
|
-
COMPREPLY=($(compgen -
|
|
751
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
603
752
|
return 0
|
|
604
753
|
;;
|
|
605
754
|
-f)
|
|
606
|
-
COMPREPLY=($(compgen -
|
|
755
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
607
756
|
return 0
|
|
608
757
|
;;
|
|
609
758
|
--output)
|
|
@@ -615,7 +764,7 @@ _rom-weaver() {
|
|
|
615
764
|
return 0
|
|
616
765
|
;;
|
|
617
766
|
--codec)
|
|
618
|
-
COMPREPLY=($(compgen -
|
|
767
|
+
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
619
768
|
return 0
|
|
620
769
|
;;
|
|
621
770
|
--level)
|
|
@@ -642,7 +791,7 @@ _rom-weaver() {
|
|
|
642
791
|
return 0
|
|
643
792
|
;;
|
|
644
793
|
rom__subcmd__weaver__subcmd__extract)
|
|
645
|
-
opts="-i -s -o -j -v -q -h --input --select --filter --output --split-bin --no-ignore --no-nested-extract --force --checksum --checksum-rom --probe --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
794
|
+
opts="-i -s -o -j -v -q -y -h --input --select --filter --output --split-bin --no-ignore --no-nested-extract --force --algo --checksum --checksum-rom --probe --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
646
795
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
647
796
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
648
797
|
return 0
|
|
@@ -677,11 +826,15 @@ _rom-weaver() {
|
|
|
677
826
|
return 0
|
|
678
827
|
;;
|
|
679
828
|
--checksum)
|
|
680
|
-
COMPREPLY=($(compgen -
|
|
829
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
830
|
+
return 0
|
|
831
|
+
;;
|
|
832
|
+
--algo)
|
|
833
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
681
834
|
return 0
|
|
682
835
|
;;
|
|
683
836
|
--checksum-rom)
|
|
684
|
-
COMPREPLY=($(compgen -
|
|
837
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
685
838
|
return 0
|
|
686
839
|
;;
|
|
687
840
|
--threads)
|
|
@@ -703,8 +856,26 @@ _rom-weaver() {
|
|
|
703
856
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
704
857
|
return 0
|
|
705
858
|
;;
|
|
859
|
+
rom__subcmd__weaver__subcmd__formats)
|
|
860
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
861
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
862
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
863
|
+
return 0
|
|
864
|
+
fi
|
|
865
|
+
case "${prev}" in
|
|
866
|
+
--log-level)
|
|
867
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
868
|
+
return 0
|
|
869
|
+
;;
|
|
870
|
+
*)
|
|
871
|
+
COMPREPLY=()
|
|
872
|
+
;;
|
|
873
|
+
esac
|
|
874
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
875
|
+
return 0
|
|
876
|
+
;;
|
|
706
877
|
rom__subcmd__weaver__subcmd__help)
|
|
707
|
-
opts="probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help"
|
|
878
|
+
opts="probe extract checksum identify ingest compress trim patch bundle tools plan-extract-batch weave completions formats help"
|
|
708
879
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
709
880
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
710
881
|
return 0
|
|
@@ -829,6 +1000,20 @@ _rom-weaver() {
|
|
|
829
1000
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
830
1001
|
return 0
|
|
831
1002
|
;;
|
|
1003
|
+
rom__subcmd__weaver__subcmd__help__subcmd__formats)
|
|
1004
|
+
opts=""
|
|
1005
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1006
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1007
|
+
return 0
|
|
1008
|
+
fi
|
|
1009
|
+
case "${prev}" in
|
|
1010
|
+
*)
|
|
1011
|
+
COMPREPLY=()
|
|
1012
|
+
;;
|
|
1013
|
+
esac
|
|
1014
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1015
|
+
return 0
|
|
1016
|
+
;;
|
|
832
1017
|
rom__subcmd__weaver__subcmd__help__subcmd__help)
|
|
833
1018
|
opts=""
|
|
834
1019
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
@@ -843,6 +1028,160 @@ _rom-weaver() {
|
|
|
843
1028
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
844
1029
|
return 0
|
|
845
1030
|
;;
|
|
1031
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify)
|
|
1032
|
+
opts="database"
|
|
1033
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1034
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1035
|
+
return 0
|
|
1036
|
+
fi
|
|
1037
|
+
case "${prev}" in
|
|
1038
|
+
*)
|
|
1039
|
+
COMPREPLY=()
|
|
1040
|
+
;;
|
|
1041
|
+
esac
|
|
1042
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1043
|
+
return 0
|
|
1044
|
+
;;
|
|
1045
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify__subcmd__database)
|
|
1046
|
+
opts="list status path remove import-redump install-all install-group install update"
|
|
1047
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1048
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1049
|
+
return 0
|
|
1050
|
+
fi
|
|
1051
|
+
case "${prev}" in
|
|
1052
|
+
*)
|
|
1053
|
+
COMPREPLY=()
|
|
1054
|
+
;;
|
|
1055
|
+
esac
|
|
1056
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1057
|
+
return 0
|
|
1058
|
+
;;
|
|
1059
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__import__subcmd__redump)
|
|
1060
|
+
opts=""
|
|
1061
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1062
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1063
|
+
return 0
|
|
1064
|
+
fi
|
|
1065
|
+
case "${prev}" in
|
|
1066
|
+
*)
|
|
1067
|
+
COMPREPLY=()
|
|
1068
|
+
;;
|
|
1069
|
+
esac
|
|
1070
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1071
|
+
return 0
|
|
1072
|
+
;;
|
|
1073
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install)
|
|
1074
|
+
opts=""
|
|
1075
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1076
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1077
|
+
return 0
|
|
1078
|
+
fi
|
|
1079
|
+
case "${prev}" in
|
|
1080
|
+
*)
|
|
1081
|
+
COMPREPLY=()
|
|
1082
|
+
;;
|
|
1083
|
+
esac
|
|
1084
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1085
|
+
return 0
|
|
1086
|
+
;;
|
|
1087
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install__subcmd__all)
|
|
1088
|
+
opts=""
|
|
1089
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1090
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1091
|
+
return 0
|
|
1092
|
+
fi
|
|
1093
|
+
case "${prev}" in
|
|
1094
|
+
*)
|
|
1095
|
+
COMPREPLY=()
|
|
1096
|
+
;;
|
|
1097
|
+
esac
|
|
1098
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1099
|
+
return 0
|
|
1100
|
+
;;
|
|
1101
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install__subcmd__group)
|
|
1102
|
+
opts=""
|
|
1103
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1104
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1105
|
+
return 0
|
|
1106
|
+
fi
|
|
1107
|
+
case "${prev}" in
|
|
1108
|
+
*)
|
|
1109
|
+
COMPREPLY=()
|
|
1110
|
+
;;
|
|
1111
|
+
esac
|
|
1112
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1113
|
+
return 0
|
|
1114
|
+
;;
|
|
1115
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__list)
|
|
1116
|
+
opts=""
|
|
1117
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1118
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1119
|
+
return 0
|
|
1120
|
+
fi
|
|
1121
|
+
case "${prev}" in
|
|
1122
|
+
*)
|
|
1123
|
+
COMPREPLY=()
|
|
1124
|
+
;;
|
|
1125
|
+
esac
|
|
1126
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1127
|
+
return 0
|
|
1128
|
+
;;
|
|
1129
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__path)
|
|
1130
|
+
opts=""
|
|
1131
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1132
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1133
|
+
return 0
|
|
1134
|
+
fi
|
|
1135
|
+
case "${prev}" in
|
|
1136
|
+
*)
|
|
1137
|
+
COMPREPLY=()
|
|
1138
|
+
;;
|
|
1139
|
+
esac
|
|
1140
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1141
|
+
return 0
|
|
1142
|
+
;;
|
|
1143
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__remove)
|
|
1144
|
+
opts=""
|
|
1145
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1146
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1147
|
+
return 0
|
|
1148
|
+
fi
|
|
1149
|
+
case "${prev}" in
|
|
1150
|
+
*)
|
|
1151
|
+
COMPREPLY=()
|
|
1152
|
+
;;
|
|
1153
|
+
esac
|
|
1154
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1155
|
+
return 0
|
|
1156
|
+
;;
|
|
1157
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__status)
|
|
1158
|
+
opts=""
|
|
1159
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1160
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1161
|
+
return 0
|
|
1162
|
+
fi
|
|
1163
|
+
case "${prev}" in
|
|
1164
|
+
*)
|
|
1165
|
+
COMPREPLY=()
|
|
1166
|
+
;;
|
|
1167
|
+
esac
|
|
1168
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1169
|
+
return 0
|
|
1170
|
+
;;
|
|
1171
|
+
rom__subcmd__weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__update)
|
|
1172
|
+
opts=""
|
|
1173
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1174
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1175
|
+
return 0
|
|
1176
|
+
fi
|
|
1177
|
+
case "${prev}" in
|
|
1178
|
+
*)
|
|
1179
|
+
COMPREPLY=()
|
|
1180
|
+
;;
|
|
1181
|
+
esac
|
|
1182
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1183
|
+
return 0
|
|
1184
|
+
;;
|
|
846
1185
|
rom__subcmd__weaver__subcmd__help__subcmd__ingest)
|
|
847
1186
|
opts=""
|
|
848
1187
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
@@ -997,8 +1336,8 @@ _rom-weaver() {
|
|
|
997
1336
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
998
1337
|
return 0
|
|
999
1338
|
;;
|
|
1000
|
-
|
|
1001
|
-
opts="-i -
|
|
1339
|
+
rom__subcmd__weaver__subcmd__identify)
|
|
1340
|
+
opts="-i -d -s -j -v -q -y -h --input --hash --size --database --system --offline --database-dir --exhaustive-database-search --select --filter --no-extract --no-ignore --no-trim-fix --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help database help"
|
|
1002
1341
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1003
1342
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1004
1343
|
return 0
|
|
@@ -1012,34 +1351,42 @@ _rom-weaver() {
|
|
|
1012
1351
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1013
1352
|
return 0
|
|
1014
1353
|
;;
|
|
1015
|
-
--
|
|
1354
|
+
--hash)
|
|
1016
1355
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1017
1356
|
return 0
|
|
1018
1357
|
;;
|
|
1019
|
-
|
|
1358
|
+
--size)
|
|
1020
1359
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1021
1360
|
return 0
|
|
1022
1361
|
;;
|
|
1023
|
-
--
|
|
1362
|
+
--database)
|
|
1024
1363
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1025
1364
|
return 0
|
|
1026
1365
|
;;
|
|
1027
|
-
-
|
|
1366
|
+
-d)
|
|
1028
1367
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1029
1368
|
return 0
|
|
1030
1369
|
;;
|
|
1031
|
-
--
|
|
1370
|
+
--system)
|
|
1032
1371
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1033
1372
|
return 0
|
|
1034
1373
|
;;
|
|
1035
|
-
--
|
|
1036
|
-
COMPREPLY=($(compgen -
|
|
1374
|
+
--database-dir)
|
|
1375
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1037
1376
|
return 0
|
|
1038
1377
|
;;
|
|
1039
|
-
--
|
|
1378
|
+
--select)
|
|
1379
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1380
|
+
return 0
|
|
1381
|
+
;;
|
|
1382
|
+
-s)
|
|
1040
1383
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1041
1384
|
return 0
|
|
1042
1385
|
;;
|
|
1386
|
+
--filter)
|
|
1387
|
+
COMPREPLY=($(compgen -W "rom patch" -- "${cur}"))
|
|
1388
|
+
return 0
|
|
1389
|
+
;;
|
|
1043
1390
|
--threads)
|
|
1044
1391
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1045
1392
|
return 0
|
|
@@ -1059,9 +1406,9 @@ _rom-weaver() {
|
|
|
1059
1406
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1060
1407
|
return 0
|
|
1061
1408
|
;;
|
|
1062
|
-
|
|
1063
|
-
opts="-v -q -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help
|
|
1064
|
-
if [[ ${cur} == -* || ${COMP_CWORD} -eq
|
|
1409
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database)
|
|
1410
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help list status path remove import-redump install-all install-group install update help"
|
|
1411
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1065
1412
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1066
1413
|
return 0
|
|
1067
1414
|
fi
|
|
@@ -1077,18 +1424,642 @@ _rom-weaver() {
|
|
|
1077
1424
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1078
1425
|
return 0
|
|
1079
1426
|
;;
|
|
1080
|
-
|
|
1081
|
-
opts="
|
|
1082
|
-
if [[ ${cur} == -* || ${COMP_CWORD} -eq
|
|
1427
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help)
|
|
1428
|
+
opts="list status path remove import-redump install-all install-group install update help"
|
|
1429
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1083
1430
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1084
1431
|
return 0
|
|
1085
1432
|
fi
|
|
1086
1433
|
case "${prev}" in
|
|
1087
|
-
|
|
1088
|
-
COMPREPLY=(
|
|
1089
|
-
return 0
|
|
1434
|
+
*)
|
|
1435
|
+
COMPREPLY=()
|
|
1090
1436
|
;;
|
|
1091
|
-
|
|
1437
|
+
esac
|
|
1438
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1439
|
+
return 0
|
|
1440
|
+
;;
|
|
1441
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__help)
|
|
1442
|
+
opts=""
|
|
1443
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1444
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1445
|
+
return 0
|
|
1446
|
+
fi
|
|
1447
|
+
case "${prev}" in
|
|
1448
|
+
*)
|
|
1449
|
+
COMPREPLY=()
|
|
1450
|
+
;;
|
|
1451
|
+
esac
|
|
1452
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1453
|
+
return 0
|
|
1454
|
+
;;
|
|
1455
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__import__subcmd__redump)
|
|
1456
|
+
opts=""
|
|
1457
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1458
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1459
|
+
return 0
|
|
1460
|
+
fi
|
|
1461
|
+
case "${prev}" in
|
|
1462
|
+
*)
|
|
1463
|
+
COMPREPLY=()
|
|
1464
|
+
;;
|
|
1465
|
+
esac
|
|
1466
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1467
|
+
return 0
|
|
1468
|
+
;;
|
|
1469
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install)
|
|
1470
|
+
opts=""
|
|
1471
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1472
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1473
|
+
return 0
|
|
1474
|
+
fi
|
|
1475
|
+
case "${prev}" in
|
|
1476
|
+
*)
|
|
1477
|
+
COMPREPLY=()
|
|
1478
|
+
;;
|
|
1479
|
+
esac
|
|
1480
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1481
|
+
return 0
|
|
1482
|
+
;;
|
|
1483
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install__subcmd__all)
|
|
1484
|
+
opts=""
|
|
1485
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1486
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1487
|
+
return 0
|
|
1488
|
+
fi
|
|
1489
|
+
case "${prev}" in
|
|
1490
|
+
*)
|
|
1491
|
+
COMPREPLY=()
|
|
1492
|
+
;;
|
|
1493
|
+
esac
|
|
1494
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1495
|
+
return 0
|
|
1496
|
+
;;
|
|
1497
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install__subcmd__group)
|
|
1498
|
+
opts=""
|
|
1499
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1500
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1501
|
+
return 0
|
|
1502
|
+
fi
|
|
1503
|
+
case "${prev}" in
|
|
1504
|
+
*)
|
|
1505
|
+
COMPREPLY=()
|
|
1506
|
+
;;
|
|
1507
|
+
esac
|
|
1508
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1509
|
+
return 0
|
|
1510
|
+
;;
|
|
1511
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__list)
|
|
1512
|
+
opts=""
|
|
1513
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1514
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1515
|
+
return 0
|
|
1516
|
+
fi
|
|
1517
|
+
case "${prev}" in
|
|
1518
|
+
*)
|
|
1519
|
+
COMPREPLY=()
|
|
1520
|
+
;;
|
|
1521
|
+
esac
|
|
1522
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1523
|
+
return 0
|
|
1524
|
+
;;
|
|
1525
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__path)
|
|
1526
|
+
opts=""
|
|
1527
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1528
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1529
|
+
return 0
|
|
1530
|
+
fi
|
|
1531
|
+
case "${prev}" in
|
|
1532
|
+
*)
|
|
1533
|
+
COMPREPLY=()
|
|
1534
|
+
;;
|
|
1535
|
+
esac
|
|
1536
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1537
|
+
return 0
|
|
1538
|
+
;;
|
|
1539
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__remove)
|
|
1540
|
+
opts=""
|
|
1541
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1542
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1543
|
+
return 0
|
|
1544
|
+
fi
|
|
1545
|
+
case "${prev}" in
|
|
1546
|
+
*)
|
|
1547
|
+
COMPREPLY=()
|
|
1548
|
+
;;
|
|
1549
|
+
esac
|
|
1550
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1551
|
+
return 0
|
|
1552
|
+
;;
|
|
1553
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__status)
|
|
1554
|
+
opts=""
|
|
1555
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1556
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1557
|
+
return 0
|
|
1558
|
+
fi
|
|
1559
|
+
case "${prev}" in
|
|
1560
|
+
*)
|
|
1561
|
+
COMPREPLY=()
|
|
1562
|
+
;;
|
|
1563
|
+
esac
|
|
1564
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1565
|
+
return 0
|
|
1566
|
+
;;
|
|
1567
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__update)
|
|
1568
|
+
opts=""
|
|
1569
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1570
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1571
|
+
return 0
|
|
1572
|
+
fi
|
|
1573
|
+
case "${prev}" in
|
|
1574
|
+
*)
|
|
1575
|
+
COMPREPLY=()
|
|
1576
|
+
;;
|
|
1577
|
+
esac
|
|
1578
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1579
|
+
return 0
|
|
1580
|
+
;;
|
|
1581
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__import__subcmd__redump)
|
|
1582
|
+
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1583
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1584
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1585
|
+
return 0
|
|
1586
|
+
fi
|
|
1587
|
+
case "${prev}" in
|
|
1588
|
+
--database-dir)
|
|
1589
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1590
|
+
return 0
|
|
1591
|
+
;;
|
|
1592
|
+
--log-level)
|
|
1593
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
1594
|
+
return 0
|
|
1595
|
+
;;
|
|
1596
|
+
*)
|
|
1597
|
+
COMPREPLY=()
|
|
1598
|
+
;;
|
|
1599
|
+
esac
|
|
1600
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1601
|
+
return 0
|
|
1602
|
+
;;
|
|
1603
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__install)
|
|
1604
|
+
opts="-v -q -y -h --all --from --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1605
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1606
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1607
|
+
return 0
|
|
1608
|
+
fi
|
|
1609
|
+
case "${prev}" in
|
|
1610
|
+
--from)
|
|
1611
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1612
|
+
return 0
|
|
1613
|
+
;;
|
|
1614
|
+
--database-dir)
|
|
1615
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1616
|
+
return 0
|
|
1617
|
+
;;
|
|
1618
|
+
--log-level)
|
|
1619
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
1620
|
+
return 0
|
|
1621
|
+
;;
|
|
1622
|
+
*)
|
|
1623
|
+
COMPREPLY=()
|
|
1624
|
+
;;
|
|
1625
|
+
esac
|
|
1626
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1627
|
+
return 0
|
|
1628
|
+
;;
|
|
1629
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__install__subcmd__all)
|
|
1630
|
+
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1631
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1632
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1633
|
+
return 0
|
|
1634
|
+
fi
|
|
1635
|
+
case "${prev}" in
|
|
1636
|
+
--database-dir)
|
|
1637
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1638
|
+
return 0
|
|
1639
|
+
;;
|
|
1640
|
+
--log-level)
|
|
1641
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
1642
|
+
return 0
|
|
1643
|
+
;;
|
|
1644
|
+
*)
|
|
1645
|
+
COMPREPLY=()
|
|
1646
|
+
;;
|
|
1647
|
+
esac
|
|
1648
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1649
|
+
return 0
|
|
1650
|
+
;;
|
|
1651
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__install__subcmd__group)
|
|
1652
|
+
opts="-v -q -y -h --from --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1653
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1654
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1655
|
+
return 0
|
|
1656
|
+
fi
|
|
1657
|
+
case "${prev}" in
|
|
1658
|
+
--from)
|
|
1659
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1660
|
+
return 0
|
|
1661
|
+
;;
|
|
1662
|
+
--database-dir)
|
|
1663
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1664
|
+
return 0
|
|
1665
|
+
;;
|
|
1666
|
+
--log-level)
|
|
1667
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
1668
|
+
return 0
|
|
1669
|
+
;;
|
|
1670
|
+
*)
|
|
1671
|
+
COMPREPLY=()
|
|
1672
|
+
;;
|
|
1673
|
+
esac
|
|
1674
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1675
|
+
return 0
|
|
1676
|
+
;;
|
|
1677
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__list)
|
|
1678
|
+
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1679
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1680
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1681
|
+
return 0
|
|
1682
|
+
fi
|
|
1683
|
+
case "${prev}" in
|
|
1684
|
+
--database-dir)
|
|
1685
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1686
|
+
return 0
|
|
1687
|
+
;;
|
|
1688
|
+
--log-level)
|
|
1689
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
1690
|
+
return 0
|
|
1691
|
+
;;
|
|
1692
|
+
*)
|
|
1693
|
+
COMPREPLY=()
|
|
1694
|
+
;;
|
|
1695
|
+
esac
|
|
1696
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1697
|
+
return 0
|
|
1698
|
+
;;
|
|
1699
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__path)
|
|
1700
|
+
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1701
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1702
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1703
|
+
return 0
|
|
1704
|
+
fi
|
|
1705
|
+
case "${prev}" in
|
|
1706
|
+
--database-dir)
|
|
1707
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1708
|
+
return 0
|
|
1709
|
+
;;
|
|
1710
|
+
--log-level)
|
|
1711
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
1712
|
+
return 0
|
|
1713
|
+
;;
|
|
1714
|
+
*)
|
|
1715
|
+
COMPREPLY=()
|
|
1716
|
+
;;
|
|
1717
|
+
esac
|
|
1718
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1719
|
+
return 0
|
|
1720
|
+
;;
|
|
1721
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__remove)
|
|
1722
|
+
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1723
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1724
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1725
|
+
return 0
|
|
1726
|
+
fi
|
|
1727
|
+
case "${prev}" in
|
|
1728
|
+
--database-dir)
|
|
1729
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1730
|
+
return 0
|
|
1731
|
+
;;
|
|
1732
|
+
--log-level)
|
|
1733
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
1734
|
+
return 0
|
|
1735
|
+
;;
|
|
1736
|
+
*)
|
|
1737
|
+
COMPREPLY=()
|
|
1738
|
+
;;
|
|
1739
|
+
esac
|
|
1740
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1741
|
+
return 0
|
|
1742
|
+
;;
|
|
1743
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__status)
|
|
1744
|
+
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1745
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1746
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1747
|
+
return 0
|
|
1748
|
+
fi
|
|
1749
|
+
case "${prev}" in
|
|
1750
|
+
--database-dir)
|
|
1751
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1752
|
+
return 0
|
|
1753
|
+
;;
|
|
1754
|
+
--log-level)
|
|
1755
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
1756
|
+
return 0
|
|
1757
|
+
;;
|
|
1758
|
+
*)
|
|
1759
|
+
COMPREPLY=()
|
|
1760
|
+
;;
|
|
1761
|
+
esac
|
|
1762
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1763
|
+
return 0
|
|
1764
|
+
;;
|
|
1765
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__update)
|
|
1766
|
+
opts="-v -q -y -h --from --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1767
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1768
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1769
|
+
return 0
|
|
1770
|
+
fi
|
|
1771
|
+
case "${prev}" in
|
|
1772
|
+
--from)
|
|
1773
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1774
|
+
return 0
|
|
1775
|
+
;;
|
|
1776
|
+
--database-dir)
|
|
1777
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1778
|
+
return 0
|
|
1779
|
+
;;
|
|
1780
|
+
--log-level)
|
|
1781
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
1782
|
+
return 0
|
|
1783
|
+
;;
|
|
1784
|
+
*)
|
|
1785
|
+
COMPREPLY=()
|
|
1786
|
+
;;
|
|
1787
|
+
esac
|
|
1788
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1789
|
+
return 0
|
|
1790
|
+
;;
|
|
1791
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help)
|
|
1792
|
+
opts="database help"
|
|
1793
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1794
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1795
|
+
return 0
|
|
1796
|
+
fi
|
|
1797
|
+
case "${prev}" in
|
|
1798
|
+
*)
|
|
1799
|
+
COMPREPLY=()
|
|
1800
|
+
;;
|
|
1801
|
+
esac
|
|
1802
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1803
|
+
return 0
|
|
1804
|
+
;;
|
|
1805
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__database)
|
|
1806
|
+
opts="list status path remove import-redump install-all install-group install update"
|
|
1807
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1808
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1809
|
+
return 0
|
|
1810
|
+
fi
|
|
1811
|
+
case "${prev}" in
|
|
1812
|
+
*)
|
|
1813
|
+
COMPREPLY=()
|
|
1814
|
+
;;
|
|
1815
|
+
esac
|
|
1816
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1817
|
+
return 0
|
|
1818
|
+
;;
|
|
1819
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__import__subcmd__redump)
|
|
1820
|
+
opts=""
|
|
1821
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1822
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1823
|
+
return 0
|
|
1824
|
+
fi
|
|
1825
|
+
case "${prev}" in
|
|
1826
|
+
*)
|
|
1827
|
+
COMPREPLY=()
|
|
1828
|
+
;;
|
|
1829
|
+
esac
|
|
1830
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1831
|
+
return 0
|
|
1832
|
+
;;
|
|
1833
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install)
|
|
1834
|
+
opts=""
|
|
1835
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1836
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1837
|
+
return 0
|
|
1838
|
+
fi
|
|
1839
|
+
case "${prev}" in
|
|
1840
|
+
*)
|
|
1841
|
+
COMPREPLY=()
|
|
1842
|
+
;;
|
|
1843
|
+
esac
|
|
1844
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1845
|
+
return 0
|
|
1846
|
+
;;
|
|
1847
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install__subcmd__all)
|
|
1848
|
+
opts=""
|
|
1849
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1850
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1851
|
+
return 0
|
|
1852
|
+
fi
|
|
1853
|
+
case "${prev}" in
|
|
1854
|
+
*)
|
|
1855
|
+
COMPREPLY=()
|
|
1856
|
+
;;
|
|
1857
|
+
esac
|
|
1858
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1859
|
+
return 0
|
|
1860
|
+
;;
|
|
1861
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install__subcmd__group)
|
|
1862
|
+
opts=""
|
|
1863
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1864
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1865
|
+
return 0
|
|
1866
|
+
fi
|
|
1867
|
+
case "${prev}" in
|
|
1868
|
+
*)
|
|
1869
|
+
COMPREPLY=()
|
|
1870
|
+
;;
|
|
1871
|
+
esac
|
|
1872
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1873
|
+
return 0
|
|
1874
|
+
;;
|
|
1875
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__list)
|
|
1876
|
+
opts=""
|
|
1877
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1878
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1879
|
+
return 0
|
|
1880
|
+
fi
|
|
1881
|
+
case "${prev}" in
|
|
1882
|
+
*)
|
|
1883
|
+
COMPREPLY=()
|
|
1884
|
+
;;
|
|
1885
|
+
esac
|
|
1886
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1887
|
+
return 0
|
|
1888
|
+
;;
|
|
1889
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__path)
|
|
1890
|
+
opts=""
|
|
1891
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1892
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1893
|
+
return 0
|
|
1894
|
+
fi
|
|
1895
|
+
case "${prev}" in
|
|
1896
|
+
*)
|
|
1897
|
+
COMPREPLY=()
|
|
1898
|
+
;;
|
|
1899
|
+
esac
|
|
1900
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1901
|
+
return 0
|
|
1902
|
+
;;
|
|
1903
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__remove)
|
|
1904
|
+
opts=""
|
|
1905
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1906
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1907
|
+
return 0
|
|
1908
|
+
fi
|
|
1909
|
+
case "${prev}" in
|
|
1910
|
+
*)
|
|
1911
|
+
COMPREPLY=()
|
|
1912
|
+
;;
|
|
1913
|
+
esac
|
|
1914
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1915
|
+
return 0
|
|
1916
|
+
;;
|
|
1917
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__status)
|
|
1918
|
+
opts=""
|
|
1919
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1920
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1921
|
+
return 0
|
|
1922
|
+
fi
|
|
1923
|
+
case "${prev}" in
|
|
1924
|
+
*)
|
|
1925
|
+
COMPREPLY=()
|
|
1926
|
+
;;
|
|
1927
|
+
esac
|
|
1928
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1929
|
+
return 0
|
|
1930
|
+
;;
|
|
1931
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__update)
|
|
1932
|
+
opts=""
|
|
1933
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
|
|
1934
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1935
|
+
return 0
|
|
1936
|
+
fi
|
|
1937
|
+
case "${prev}" in
|
|
1938
|
+
*)
|
|
1939
|
+
COMPREPLY=()
|
|
1940
|
+
;;
|
|
1941
|
+
esac
|
|
1942
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1943
|
+
return 0
|
|
1944
|
+
;;
|
|
1945
|
+
rom__subcmd__weaver__subcmd__identify__subcmd__help__subcmd__help)
|
|
1946
|
+
opts=""
|
|
1947
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1948
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1949
|
+
return 0
|
|
1950
|
+
fi
|
|
1951
|
+
case "${prev}" in
|
|
1952
|
+
*)
|
|
1953
|
+
COMPREPLY=()
|
|
1954
|
+
;;
|
|
1955
|
+
esac
|
|
1956
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1957
|
+
return 0
|
|
1958
|
+
;;
|
|
1959
|
+
rom__subcmd__weaver__subcmd__ingest)
|
|
1960
|
+
opts="-i -o -d -s -j -v -q -y -h --input --output --database --select --sidecar-name --sidecar-only --no-ignore --no-nested-extract --split-bin --algo --checksum --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1961
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1962
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1963
|
+
return 0
|
|
1964
|
+
fi
|
|
1965
|
+
case "${prev}" in
|
|
1966
|
+
--input)
|
|
1967
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1968
|
+
return 0
|
|
1969
|
+
;;
|
|
1970
|
+
-i)
|
|
1971
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1972
|
+
return 0
|
|
1973
|
+
;;
|
|
1974
|
+
--output)
|
|
1975
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1976
|
+
return 0
|
|
1977
|
+
;;
|
|
1978
|
+
-o)
|
|
1979
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1980
|
+
return 0
|
|
1981
|
+
;;
|
|
1982
|
+
--database)
|
|
1983
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1984
|
+
return 0
|
|
1985
|
+
;;
|
|
1986
|
+
-d)
|
|
1987
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1988
|
+
return 0
|
|
1989
|
+
;;
|
|
1990
|
+
--select)
|
|
1991
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1992
|
+
return 0
|
|
1993
|
+
;;
|
|
1994
|
+
-s)
|
|
1995
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1996
|
+
return 0
|
|
1997
|
+
;;
|
|
1998
|
+
--sidecar-name)
|
|
1999
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2000
|
+
return 0
|
|
2001
|
+
;;
|
|
2002
|
+
--split-bin)
|
|
2003
|
+
COMPREPLY=($(compgen -W "true false" -- "${cur}"))
|
|
2004
|
+
return 0
|
|
2005
|
+
;;
|
|
2006
|
+
--checksum)
|
|
2007
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
2008
|
+
return 0
|
|
2009
|
+
;;
|
|
2010
|
+
--algo)
|
|
2011
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
2012
|
+
return 0
|
|
2013
|
+
;;
|
|
2014
|
+
--threads)
|
|
2015
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2016
|
+
return 0
|
|
2017
|
+
;;
|
|
2018
|
+
-j)
|
|
2019
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2020
|
+
return 0
|
|
2021
|
+
;;
|
|
2022
|
+
--log-level)
|
|
2023
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
2024
|
+
return 0
|
|
2025
|
+
;;
|
|
2026
|
+
*)
|
|
2027
|
+
COMPREPLY=()
|
|
2028
|
+
;;
|
|
2029
|
+
esac
|
|
2030
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2031
|
+
return 0
|
|
2032
|
+
;;
|
|
2033
|
+
rom__subcmd__weaver__subcmd__patch)
|
|
2034
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help apply weave validate create help"
|
|
2035
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2036
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2037
|
+
return 0
|
|
2038
|
+
fi
|
|
2039
|
+
case "${prev}" in
|
|
2040
|
+
--log-level)
|
|
2041
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
2042
|
+
return 0
|
|
2043
|
+
;;
|
|
2044
|
+
*)
|
|
2045
|
+
COMPREPLY=()
|
|
2046
|
+
;;
|
|
2047
|
+
esac
|
|
2048
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2049
|
+
return 0
|
|
2050
|
+
;;
|
|
2051
|
+
rom__subcmd__weaver__subcmd__patch__subcmd__apply)
|
|
2052
|
+
opts="-i -s -o -j -n -v -q -y -h --input --select --target --filter --no-extract --no-ignore --patch --output --bundle --with --without --raw --no-compress --format --compress-format --codec --compress-codec --level --compress-level --assume-in --expect-in --patch-header --patch-basis --output-header --repair-checksum --n64-byte-order --ignore-checksum-validation --expect-out --code --code-system --code-kind --emit-bundle --tui --threads --force --dry-run --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
2053
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
2054
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2055
|
+
return 0
|
|
2056
|
+
fi
|
|
2057
|
+
case "${prev}" in
|
|
2058
|
+
--input)
|
|
2059
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2060
|
+
return 0
|
|
2061
|
+
;;
|
|
2062
|
+
-i)
|
|
1092
2063
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1093
2064
|
return 0
|
|
1094
2065
|
;;
|
|
@@ -1133,17 +2104,29 @@ _rom-weaver() {
|
|
|
1133
2104
|
return 0
|
|
1134
2105
|
;;
|
|
1135
2106
|
--compress-format)
|
|
1136
|
-
COMPREPLY=($(compgen -
|
|
2107
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
2108
|
+
return 0
|
|
2109
|
+
;;
|
|
2110
|
+
--format)
|
|
2111
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
1137
2112
|
return 0
|
|
1138
2113
|
;;
|
|
1139
2114
|
--compress-codec)
|
|
1140
|
-
COMPREPLY=($(compgen -
|
|
2115
|
+
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
2116
|
+
return 0
|
|
2117
|
+
;;
|
|
2118
|
+
--codec)
|
|
2119
|
+
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
1141
2120
|
return 0
|
|
1142
2121
|
;;
|
|
1143
2122
|
--compress-level)
|
|
1144
2123
|
COMPREPLY=($(compgen -W "min very-low low medium high very-high max" -- "${cur}"))
|
|
1145
2124
|
return 0
|
|
1146
2125
|
;;
|
|
2126
|
+
--level)
|
|
2127
|
+
COMPREPLY=($(compgen -W "min very-low low medium high very-high max" -- "${cur}"))
|
|
2128
|
+
return 0
|
|
2129
|
+
;;
|
|
1147
2130
|
--assume-in)
|
|
1148
2131
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1149
2132
|
return 0
|
|
@@ -1208,7 +2191,7 @@ _rom-weaver() {
|
|
|
1208
2191
|
return 0
|
|
1209
2192
|
;;
|
|
1210
2193
|
rom__subcmd__weaver__subcmd__patch__subcmd__create)
|
|
1211
|
-
opts="-f -o -j -v -q -h --original --modified --format --output --plan --ignore-checksum-validation --checksum-name --assume-in --code --code-system --code-kind --threads --solid-system --solid-game --solid-hack --solid-version --solid-author --solid-contact --solid-comment --solid-extended --xdelta-secondary --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
2194
|
+
opts="-f -o -j -v -q -y -h --original --modified --format --output --plan --ignore-checksum-validation --checksum-name --assume-in --code --code-system --code-kind --threads --solid-system --solid-game --solid-hack --solid-version --solid-author --solid-contact --solid-comment --solid-extended --xdelta-secondary --force --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1212
2195
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1213
2196
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1214
2197
|
return 0
|
|
@@ -1376,7 +2359,7 @@ _rom-weaver() {
|
|
|
1376
2359
|
return 0
|
|
1377
2360
|
;;
|
|
1378
2361
|
rom__subcmd__weaver__subcmd__patch__subcmd__validate)
|
|
1379
|
-
opts="-i -s -j -v -q -h --input --select --filter --no-extract --no-ignore --patch --assume-in --expect-in --strip-header --n64-byte-order --ignore-checksum-validation --independent --plan --patch-basis --patch-input-check --patch-output-check --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
2362
|
+
opts="-i -s -j -v -q -y -h --input --select --filter --no-extract --no-ignore --patch --assume-in --expect-in --strip-header --n64-byte-order --ignore-checksum-validation --independent --plan --patch-basis --patch-input-check --patch-output-check --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1380
2363
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1381
2364
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1382
2365
|
return 0
|
|
@@ -1450,7 +2433,7 @@ _rom-weaver() {
|
|
|
1450
2433
|
return 0
|
|
1451
2434
|
;;
|
|
1452
2435
|
rom__subcmd__weaver__subcmd__plan__subcmd__extract__subcmd__batch)
|
|
1453
|
-
opts="-j -v -q -h --job-size --threads --max-concurrency --total-memory-bytes --memory-ceiling-bytes --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
2436
|
+
opts="-j -v -q -y -h --job-size --threads --max-concurrency --total-memory-bytes --memory-ceiling-bytes --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1454
2437
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1455
2438
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1456
2439
|
return 0
|
|
@@ -1492,7 +2475,7 @@ _rom-weaver() {
|
|
|
1492
2475
|
return 0
|
|
1493
2476
|
;;
|
|
1494
2477
|
rom__subcmd__weaver__subcmd__probe)
|
|
1495
|
-
opts="-i -s -v -q -h --input --select --filter --no-extract --no-ignore --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
2478
|
+
opts="-i -s -v -q -y -h --input --select --filter --no-extract --no-ignore --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1496
2479
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1497
2480
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1498
2481
|
return 0
|
|
@@ -1530,7 +2513,7 @@ _rom-weaver() {
|
|
|
1530
2513
|
return 0
|
|
1531
2514
|
;;
|
|
1532
2515
|
rom__subcmd__weaver__subcmd__tools)
|
|
1533
|
-
opts="-v -q -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help ppf-undo help"
|
|
2516
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help ppf-undo help"
|
|
1534
2517
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1535
2518
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1536
2519
|
return 0
|
|
@@ -1590,7 +2573,7 @@ _rom-weaver() {
|
|
|
1590
2573
|
return 0
|
|
1591
2574
|
;;
|
|
1592
2575
|
rom__subcmd__weaver__subcmd__tools__subcmd__ppf__subcmd__undo)
|
|
1593
|
-
opts="-i -o -v -q -h --input --patch --output --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
2576
|
+
opts="-i -o -v -q -y -h --input --patch --output --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1594
2577
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1595
2578
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1596
2579
|
return 0
|
|
@@ -1628,7 +2611,7 @@ _rom-weaver() {
|
|
|
1628
2611
|
return 0
|
|
1629
2612
|
;;
|
|
1630
2613
|
rom__subcmd__weaver__subcmd__trim)
|
|
1631
|
-
opts="-i -o -e -n -j -v -q -h --input --output --extension --in-place --dry-run --untrim --restore --revert --no-recursive --no-filter --no-extract --reversible --revert-marker --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
2614
|
+
opts="-i -o -e -n -j -v -q -y -h --input --output --extension --in-place --dry-run --untrim --restore --revert --no-recursive --filter --no-filter --no-extract --reversible --revert-marker --threads --force --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1632
2615
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1633
2616
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1634
2617
|
return 0
|
|
@@ -1658,6 +2641,10 @@ _rom-weaver() {
|
|
|
1658
2641
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1659
2642
|
return 0
|
|
1660
2643
|
;;
|
|
2644
|
+
--filter)
|
|
2645
|
+
COMPREPLY=($(compgen -W "rom patch" -- "${cur}"))
|
|
2646
|
+
return 0
|
|
2647
|
+
;;
|
|
1661
2648
|
--threads)
|
|
1662
2649
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1663
2650
|
return 0
|
|
@@ -1678,7 +2665,7 @@ _rom-weaver() {
|
|
|
1678
2665
|
return 0
|
|
1679
2666
|
;;
|
|
1680
2667
|
rom__subcmd__weaver__subcmd__weave)
|
|
1681
|
-
opts="-i -s -o -j -v -q -h --input --select --target --filter --no-extract --no-ignore --patch --output --bundle --with --without --no-compress --compress-format --compress-codec --compress-level --assume-in --expect-in --patch-header --patch-basis --output-header --repair-checksum --n64-byte-order --ignore-checksum-validation --expect-out --code --code-system --code-kind --emit-bundle --tui --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
2668
|
+
opts="-i -s -o -j -n -v -q -y -h --input --select --target --filter --no-extract --no-ignore --patch --output --bundle --with --without --raw --no-compress --format --compress-format --codec --compress-codec --level --compress-level --assume-in --expect-in --patch-header --patch-basis --output-header --repair-checksum --n64-byte-order --ignore-checksum-validation --expect-out --code --code-system --code-kind --emit-bundle --tui --threads --force --dry-run --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1682
2669
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1683
2670
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1684
2671
|
return 0
|
|
@@ -1733,17 +2720,29 @@ _rom-weaver() {
|
|
|
1733
2720
|
return 0
|
|
1734
2721
|
;;
|
|
1735
2722
|
--compress-format)
|
|
1736
|
-
COMPREPLY=($(compgen -
|
|
2723
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
2724
|
+
return 0
|
|
2725
|
+
;;
|
|
2726
|
+
--format)
|
|
2727
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
1737
2728
|
return 0
|
|
1738
2729
|
;;
|
|
1739
2730
|
--compress-codec)
|
|
1740
|
-
COMPREPLY=($(compgen -
|
|
2731
|
+
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
2732
|
+
return 0
|
|
2733
|
+
;;
|
|
2734
|
+
--codec)
|
|
2735
|
+
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
1741
2736
|
return 0
|
|
1742
2737
|
;;
|
|
1743
2738
|
--compress-level)
|
|
1744
2739
|
COMPREPLY=($(compgen -W "min very-low low medium high very-high max" -- "${cur}"))
|
|
1745
2740
|
return 0
|
|
1746
2741
|
;;
|
|
2742
|
+
--level)
|
|
2743
|
+
COMPREPLY=($(compgen -W "min very-low low medium high very-high max" -- "${cur}"))
|
|
2744
|
+
return 0
|
|
2745
|
+
;;
|
|
1747
2746
|
--assume-in)
|
|
1748
2747
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1749
2748
|
return 0
|
|
@@ -1811,7 +2810,7 @@ _rom-weaver() {
|
|
|
1811
2810
|
}
|
|
1812
2811
|
|
|
1813
2812
|
if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
|
|
1814
|
-
complete -F
|
|
2813
|
+
complete -F _rom__weaver -o nosort -o bashdefault -o default rom-weaver
|
|
1815
2814
|
else
|
|
1816
|
-
complete -F
|
|
2815
|
+
complete -F _rom__weaver -o bashdefault -o default rom-weaver
|
|
1817
2816
|
fi
|