mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
a step to remove __fish_sgrep per issue #2450
This commit is contained in:
parent
3463e81dda
commit
4936de29e7
1 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
complete -c atool -r -d 'Manage file archives of various types'
|
||||
|
||||
##Commands:
|
||||
# Commands:
|
||||
complete -c atool -s l -l list -d 'list files in archive (als)'
|
||||
complete -c atool -s x -l extract -d 'extract files from archive (aunpack)'
|
||||
complete -c atool -s X -l extract-to -r -d 'extract archive to specified directory'
|
||||
|
@ -11,9 +11,9 @@ complete -c atool -s r -l repack -d 'repack archives to a different format (arep
|
|||
complete -c atool -l help -d 'display this help and exit'
|
||||
complete -c atool -l version -d 'output version information and exit'
|
||||
|
||||
##Options:
|
||||
# Options:
|
||||
complete -c atool -s e -l each -d 'execute command above for each file specified'
|
||||
complete -c atool -s F -l format -d 'override archive format (see below)' -xa "(man atool | __fish_sgrep -E '^\s+(\S+)\s+\(\..+\)' | sed -r 's/\s+(\S+)\s+\((.+)\)/\1\t\2/')"
|
||||
complete -c atool -s F -l format -d 'override archive format (see below)' -xa "(man atool | string -r '^\s+\S+\s+\(\..+\)' | string replace -r '^\s+(\S+)\s+\((\..+)\)' '$1\t$2')"
|
||||
complete -c atool -s O -l format-option -x -d 'give specific options to the archiver'
|
||||
complete -c atool -s D -l subdir -d 'always create subdirectory when extracting'
|
||||
complete -c atool -s f -l force -d 'allow overwriting of local files'
|
||||
|
@ -26,4 +26,3 @@ complete -c atool -s E -l explain -d 'explain what is being done by atool'
|
|||
complete -c atool -s S -l simulate -d 'simulation mode - no filesystem changes are made'
|
||||
complete -c atool -s o -l option -x -d 'override a configuration option (KEY=VALUE)'
|
||||
complete -c atool -l config -r -d 'load configuration defaults from file'
|
||||
#man -P cat atool | grep '(default')'
|
||||
|
|
Loading…
Reference in a new issue