summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_abcde
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:18:04 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:18:04 +0200
commit31bcc5c263aea983e967426e2b94269e7605dcd4 (patch)
tree7b48ad9d7799afe09b7d7d8adc980bd5db935bdf /Completion/Unix/Command/_abcde
parent5086b5356abcef8849dc8a09902b7c55f01db3c0 (diff)
parentb09f4483416c54c1782824633dfabaf2ec0265b6 (diff)
downloadzsh-31bcc5c263aea983e967426e2b94269e7605dcd4.tar.gz
zsh-31bcc5c263aea983e967426e2b94269e7605dcd4.zip
Update upstream source from tag 'upstream/5.8.1.2-test'
Update to upstream version '5.8.1.2-test' with Debian dir b380d582bf51cd93149e4dea28fffa1ad85db4f5
Diffstat (limited to 'Completion/Unix/Command/_abcde')
-rw-r--r--Completion/Unix/Command/_abcde45
1 files changed, 18 insertions, 27 deletions
diff --git a/Completion/Unix/Command/_abcde b/Completion/Unix/Command/_abcde
index 361b43091..3f748d373 100644
--- a/Completion/Unix/Command/_abcde
+++ b/Completion/Unix/Command/_abcde
@@ -1,50 +1,41 @@
#compdef abcde
-(( $+functions[_abcde_fields] )) ||
-_abcde_fields(){
- _values -s , field year genre
-}
-
-(( $+functions[_abcde_actions] )) ||
-_abcde_actions(){
- _values -s , action cddb cue read getalbumart embedalbumart normalize encode tag move replaygain playlist clean
-}
-
-_arguments -s \
+_arguments -s -S -A "-*" \
'(-t -T -p)-1[encode the whole CD in a single file]' \
- '-a[comma-delimited list of actions to perform]:action:_abcde_actions' \
+ '-a[comma-delimited list of actions to perform]:action:_sequence compadd - cddb cue read getalbumart embedalbumart normalize encode tag move replaygain playlist clean' \
'-b[enable batch mode normalization]' \
'-B[enable automatic embedding of album art with certain containers]' \
- '-c[specify an additional configuration file to parse]:config:_files' \
- '-C[resume a session for discid when you no longer have the CD available]:discid' \
- '-d[CD-ROM block device that contains audio tracks to be read]:cd-rom-file:_files' \
+ '-c+[specify an additional configuration file to parse]:config:_files' \
+ '-C+[resume a session when read was completed but CD is not present]:disc id:compadd abcde.*(N:e)' \
+ '-d+[specify CD device from which to read audio tracks]:CD device:_files -g "*(-%)" -P / -W /' \
'-D[capture debugging information]' \
'-e[erase information about encoded tracks from the internal status file]' \
'-f[force the removal of the temporary ABCDETEMPDIR directory]' \
"-g[enable lame's --nogap option]" \
'-G[download album art using the getalbumart function]' \
'(- :)-h[get help information]' \
- '-j[start a specified number of encoder processes at once]:number' \
+ '-j+[start specified number of encoder processes at once]:number' \
'-k[keep the wav files after encoding]' \
- '-l[use the low-diskspace algorithm]' \
+ '-l[use the low disk space algorithm]' \
'-L[use a local CDDB repository]' \
'-m[create DOS-style playlists, modifying the resulting one by adding CRLF line endings those to work]' \
"-n[don't query CDDB database]" \
'-N[non interactive mode]' \
- '-o[select output type]:outputtype:(vorbis ogg mp3 flac spx mpc m4a wav wv ape opus mka aiff)' \
+ '-o+[select output type]:output type [vorbis]:(vorbis ogg mp3 flac spx mpc m4a wav wv ape opus mka aiff)' \
"-p[pads track numbers with 0's]" \
'-P[use Unix PIPES to read and encode in one step]' \
- '-r[remote encode on this comma-delimited list of machines using distmp3]:hosts:_sequence _hosts' \
- '-s[fields to be shown in the CDDB parsed entries]:field:_abcde_fields' \
- '-S[set the speed of the CD drive]:speed' \
- '-t[start the numbering of the tracks at a given number]:track-number' \
- '-T[start the numbering of the tracks at a given number and change internal tag numbering]:track-number' \
+ '-Q+[specify CD lookup methods]:lookup method [musicbrainz]:_sequence compadd - musicbrainz cddb cdtext' \
+ '-r+[remote encode on this comma-delimited list of machines using distmp3]:hosts:_sequence _hosts' \
+ '-s+[fields to be shown in the CDDB parsed entries]:field:_sequence compadd - year genre' \
+ '-S+[set the speed of the CD drive]:speed' \
+ '-t+[start the numbering of the tracks at a given number]:track-number' \
+ '-T+[start the numbering of the tracks at a given number and change internal tag numbering]:track-number' \
'-U[set CDDBPROTO to version 5]' \
'(- :)-v[show the version and exit]' \
'-V[be more verbose]' \
'-x[eject the CD when all tracks have been read]' \
- '-X[use an alternative "cue2discid" implementation]:cue2discid' \
- '-w[add a comment to the tracks ripped from the CD]:comment' \
- "-W[concatenate CD's]:cd-number" \
+ '-X+[use an alternative "cue2discid" implementation]:cue2discid:_command_names -e' \
+ '-w+[add a comment to the tracks ripped from the CD]:comment' \
+ "-W+[concatenate CD's]:cd-number" \
'-z[debug mode]' \
- '*:tracks:'
+ '*: :_guard "^-*" "track list"'