mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-24 10:23:43 +08:00
cf6391b8d3
- the __fish_seen_any_argument function did not work - the xxd_exclusive_args specification was not correct - longer old-style options were missing - technically short options are also old-style options in xxd - some options were missing
21 lines
1.4 KiB
Fish
21 lines
1.4 KiB
Fish
complete -c xxd -o a -o autoskip -d 'Toggle autoskip'
|
|
complete -c xxd -o b -o bits -d 'Binary digit dump'
|
|
complete -c xxd -o c -o cols -x -d 'Number of octets per line'
|
|
complete -c xxd -o C -o capitalize -n '__fish_seen_argument -o i' -d 'Capitalize variable names'
|
|
complete -c xxd -o d -d 'Show offset in decimal, not hex'
|
|
complete -c xxd -o E -o EBCDIC -d 'Show characters in EBCDIC'
|
|
complete -c xxd -o e -d 'Little-endian hex dump'
|
|
complete -c xxd -o g -o groupsize -xa '0 1 2 4' -d 'Octets per group'
|
|
complete -c xxd -o h -o help -d 'Print help summary'
|
|
complete -c xxd -o i -o include -d 'Output in C include file style'
|
|
complete -c xxd -o l -o len -x -d 'Stop after NUM octets'
|
|
complete -c xxd -o n -o name -x -n '__fish_seen_argument -o i' -d 'Set variable name'
|
|
complete -c xxd -o o -x -d 'Add OFFSET to displayed file position'
|
|
complete -c xxd -o p -o ps -o postscript -o plain -d 'Output PostScript/plain hexdump style'
|
|
complete -c xxd -o r -o revert -d 'Convert hexdump to binary'
|
|
complete -c xxd -o R -xa 'never always auto' -d 'Output coloring mode'
|
|
complete -c xxd -o s -xa '-32 -8 +8 +32' -n 'not __fish_seen_argument -o r' -d 'Start at SEEK bytes offset in file'
|
|
complete -c xxd -o s -xa '-32 -8 +8 +32' -n '__fish_seen_argument -o r' -d 'Add OFFSET to file positions in hexdump'
|
|
complete -c xxd -o u -d 'Use uppercase hex letters'
|
|
complete -c xxd -o v -o version -d 'Show version'
|