Skip to content

Commit e5927c6

Browse files
committed
chore: update completions
1 parent 4aef5b4 commit e5927c6

5 files changed

Lines changed: 5 additions & 1 deletion

File tree

exports/completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ _pdu() {
2323

2424
case "${cmd}" in
2525
pdu)
26-
opts="-h -V --json-input --json-output --bytes-format --top-down --align-right --quantity --max-depth --total-width --column-width --min-ratio --no-sort --silent-errors --progress --threads --help --version [FILES]..."
26+
opts="-h -V --json-input --json-output --bytes-format --deduplicate-hardlinks --top-down --align-right --quantity --max-depth --total-width --column-width --min-ratio --no-sort --silent-errors --progress --threads --help --version [FILES]..."
2727
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
2828
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
2929
return 0

exports/completion.elv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ set edit:completion:arg-completer[pdu] = {|@words|
2727
cand --threads 'Set the maximum number of threads to spawn. Could be either "auto", "max", or a number'
2828
cand --json-input 'Read JSON data from stdin'
2929
cand --json-output 'Print JSON data instead of an ASCII chart'
30+
cand --deduplicate-hardlinks 'Detect duplicated hardlinks and remove their sizes from total'
3031
cand --top-down 'Print the tree top-down instead of bottom-up'
3132
cand --align-right 'Set the root of the bars to the right'
3233
cand --no-sort 'Preserve order of entries'

exports/completion.fish

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ complete -c pdu -l min-ratio -d 'Minimal size proportion required to appear' -r
1111
complete -c pdu -l threads -d 'Set the maximum number of threads to spawn. Could be either "auto", "max", or a number' -r
1212
complete -c pdu -l json-input -d 'Read JSON data from stdin'
1313
complete -c pdu -l json-output -d 'Print JSON data instead of an ASCII chart'
14+
complete -c pdu -l deduplicate-hardlinks -d 'Detect duplicated hardlinks and remove their sizes from total'
1415
complete -c pdu -l top-down -d 'Print the tree top-down instead of bottom-up'
1516
complete -c pdu -l align-right -d 'Set the root of the bars to the right'
1617
complete -c pdu -l no-sort -d 'Preserve order of entries'

exports/completion.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Register-ArgumentCompleter -Native -CommandName 'pdu' -ScriptBlock {
3030
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'Set the maximum number of threads to spawn. Could be either "auto", "max", or a number')
3131
[CompletionResult]::new('--json-input', '--json-input', [CompletionResultType]::ParameterName, 'Read JSON data from stdin')
3232
[CompletionResult]::new('--json-output', '--json-output', [CompletionResultType]::ParameterName, 'Print JSON data instead of an ASCII chart')
33+
[CompletionResult]::new('--deduplicate-hardlinks', '--deduplicate-hardlinks', [CompletionResultType]::ParameterName, 'Detect duplicated hardlinks and remove their sizes from total')
3334
[CompletionResult]::new('--top-down', '--top-down', [CompletionResultType]::ParameterName, 'Print the tree top-down instead of bottom-up')
3435
[CompletionResult]::new('--align-right', '--align-right', [CompletionResultType]::ParameterName, 'Set the root of the bars to the right')
3536
[CompletionResult]::new('--no-sort', '--no-sort', [CompletionResultType]::ParameterName, 'Preserve order of entries')

exports/completion.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ block-count\:"Count numbers of blocks"))' \
2828
'--threads=[Set the maximum number of threads to spawn. Could be either "auto", "max", or a number]:THREADS:_default' \
2929
'(--quantity)--json-input[Read JSON data from stdin]' \
3030
'--json-output[Print JSON data instead of an ASCII chart]' \
31+
'--deduplicate-hardlinks[Detect duplicated hardlinks and remove their sizes from total]' \
3132
'--top-down[Print the tree top-down instead of bottom-up]' \
3233
'--align-right[Set the root of the bars to the right]' \
3334
'--no-sort[Preserve order of entries]' \

0 commit comments

Comments
 (0)