diff options
| author | Karel Zak <kzak@redhat.com> | 2022-12-08 11:12:47 +0100 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2022-12-08 11:12:47 +0100 |
| commit | 85a956a709bc2447dbc905177bd51b261d662722 (patch) | |
| tree | db381ac1c84944bcae4bbfe3b5cb0261f5653d90 /bash-completion | |
| parent | a9b1dfd945aba1edf2d0af240918eb651f5f0098 (diff) | |
| download | util-linux-85a956a709bc2447dbc905177bd51b261d662722.tar.gz | |
hardlink: cleanup options
* add missing stuff to bash-completion
* reorder --help output
* reorder man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'bash-completion')
| -rw-r--r-- | bash-completion/hardlink | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/bash-completion/hardlink b/bash-completion/hardlink index 75b8b9ccfe..a7f197d48a 100644 --- a/bash-completion/hardlink +++ b/bash-completion/hardlink @@ -9,6 +9,34 @@ _hardlink_module() COMPREPLY=( $(compgen -W "regex" -- $cur) ) return 0 ;; + '-i'|'--include') + COMPREPLY=( $(compgen -W "regex" -- $cur) ) + return 0 + ;; + '-s'|'--minimum-size') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-S'|'--maximum-size') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-b'|'--io-size') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-r'|'--cache-size') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-y'|'--method') + COMPREPLY=( $(compgen -W "sha256 sha1 crc32c memcmp" -- $cur) ) + return 0 + ;; + '--reflink') + COMPREPLY=( $(compgen -W "never always auto" -- $cur) ) + return 0 + ;; '-H'|'--help'|'-V'|'--version') return 0 ;; @@ -17,10 +45,19 @@ _hardlink_module() -*) OPTS=" --content + --respect-dir + --respect-name + --maximize + --minimize --dry-run + --ignore-owner + --keep-oldest + --ignore-mode + --quiet + --ignore-time --verbose - --force - --exclude + --respect-xattrs + --skip-reflinks --version --help " |
