Skip to content

Commit b8fe566

Browse files
committed
chore(git): merge from master
2 parents 607f545 + 1d52a82 commit b8fe566

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

exports/completion.elv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ set edit:completion:arg-completer[pdu] = {|@words|
2929
cand --threads 'Set the maximum number of threads to spawn. Could be either "auto", "max", or a number'
3030
cand --json-input 'Read JSON data from stdin'
3131
cand --json-output 'Print JSON data instead of an ASCII chart'
32-
cand --deduplicate-hardlinks 'Detect duplicated hardlinks and remove their sizes from total'
33-
cand --detect-links 'Detect duplicated hardlinks and remove their sizes from total'
34-
cand --dedupe-links 'Detect duplicated hardlinks and remove their sizes from total'
32+
cand --deduplicate-hardlinks 'Detect duplicated hardlinks and subtract their sizes from total'
33+
cand --detect-links 'Detect duplicated hardlinks and subtract their sizes from total'
34+
cand --dedupe-links 'Detect duplicated hardlinks and subtract their sizes from total'
3535
cand --top-down 'Print the tree top-down instead of bottom-up'
3636
cand --align-right 'Set the root of the bars to the right'
37-
cand --no-sort 'Preserve order of entries'
37+
cand --no-sort 'Do not sort the branches in the tree'
3838
cand --silent-errors 'Prevent filesystem error messages from appearing in stderr'
3939
cand --no-errors 'Prevent filesystem error messages from appearing in stderr'
4040
cand --progress 'Report progress being made at the expense of performance'

exports/completion.fish

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ 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 -l detect-links -l dedupe-links -d 'Detect duplicated hardlinks and remove their sizes from total'
14+
complete -c pdu -l deduplicate-hardlinks -l detect-links -l dedupe-links -d 'Detect duplicated hardlinks and subtract their sizes from total'
1515
complete -c pdu -l top-down -d 'Print the tree top-down instead of bottom-up'
1616
complete -c pdu -l align-right -d 'Set the root of the bars to the right'
17-
complete -c pdu -l no-sort -d 'Preserve order of entries'
17+
complete -c pdu -l no-sort -d 'Do not sort the branches in the tree'
1818
complete -c pdu -l silent-errors -l no-errors -d 'Prevent filesystem error messages from appearing in stderr'
1919
complete -c pdu -l progress -d 'Report progress being made at the expense of performance'
2020
complete -c pdu -l omit-json-shared-details -d 'Do not output `.shared.details` in the JSON output'

exports/completion.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ Register-ArgumentCompleter -Native -CommandName 'pdu' -ScriptBlock {
3232
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'Set the maximum number of threads to spawn. Could be either "auto", "max", or a number')
3333
[CompletionResult]::new('--json-input', '--json-input', [CompletionResultType]::ParameterName, 'Read JSON data from stdin')
3434
[CompletionResult]::new('--json-output', '--json-output', [CompletionResultType]::ParameterName, 'Print JSON data instead of an ASCII chart')
35-
[CompletionResult]::new('--deduplicate-hardlinks', '--deduplicate-hardlinks', [CompletionResultType]::ParameterName, 'Detect duplicated hardlinks and remove their sizes from total')
36-
[CompletionResult]::new('--detect-links', '--detect-links', [CompletionResultType]::ParameterName, 'Detect duplicated hardlinks and remove their sizes from total')
37-
[CompletionResult]::new('--dedupe-links', '--dedupe-links', [CompletionResultType]::ParameterName, 'Detect duplicated hardlinks and remove their sizes from total')
35+
[CompletionResult]::new('--deduplicate-hardlinks', '--deduplicate-hardlinks', [CompletionResultType]::ParameterName, 'Detect duplicated hardlinks and subtract their sizes from total')
36+
[CompletionResult]::new('--detect-links', '--detect-links', [CompletionResultType]::ParameterName, 'Detect duplicated hardlinks and subtract their sizes from total')
37+
[CompletionResult]::new('--dedupe-links', '--dedupe-links', [CompletionResultType]::ParameterName, 'Detect duplicated hardlinks and subtract their sizes from total')
3838
[CompletionResult]::new('--top-down', '--top-down', [CompletionResultType]::ParameterName, 'Print the tree top-down instead of bottom-up')
3939
[CompletionResult]::new('--align-right', '--align-right', [CompletionResultType]::ParameterName, 'Set the root of the bars to the right')
40-
[CompletionResult]::new('--no-sort', '--no-sort', [CompletionResultType]::ParameterName, 'Preserve order of entries')
40+
[CompletionResult]::new('--no-sort', '--no-sort', [CompletionResultType]::ParameterName, 'Do not sort the branches in the tree')
4141
[CompletionResult]::new('--silent-errors', '--silent-errors', [CompletionResultType]::ParameterName, 'Prevent filesystem error messages from appearing in stderr')
4242
[CompletionResult]::new('--no-errors', '--no-errors', [CompletionResultType]::ParameterName, 'Prevent filesystem error messages from appearing in stderr')
4343
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Report progress being made at the expense of performance')

exports/completion.zsh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ block-count\:"Count numbers of blocks"))' \
3030
'--threads=[Set the maximum number of threads to spawn. Could be either "auto", "max", or a number]:THREADS:_default' \
3131
'(--quantity --deduplicate-hardlinks)--json-input[Read JSON data from stdin]' \
3232
'--json-output[Print JSON data instead of an ASCII chart]' \
33-
'--deduplicate-hardlinks[Detect duplicated hardlinks and remove their sizes from total]' \
34-
'--detect-links[Detect duplicated hardlinks and remove their sizes from total]' \
35-
'--dedupe-links[Detect duplicated hardlinks and remove their sizes from total]' \
33+
'--deduplicate-hardlinks[Detect duplicated hardlinks and subtract their sizes from total]' \
34+
'--detect-links[Detect duplicated hardlinks and subtract their sizes from total]' \
35+
'--dedupe-links[Detect duplicated hardlinks and subtract their sizes from total]' \
3636
'--top-down[Print the tree top-down instead of bottom-up]' \
3737
'--align-right[Set the root of the bars to the right]' \
38-
'--no-sort[Preserve order of entries]' \
38+
'--no-sort[Do not sort the branches in the tree]' \
3939
'--silent-errors[Prevent filesystem error messages from appearing in stderr]' \
4040
'--no-errors[Prevent filesystem error messages from appearing in stderr]' \
4141
'--progress[Report progress being made at the expense of performance]' \

src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ pub struct Args {
138138
#[clap(long, default_value = "0.01")]
139139
pub min_ratio: Fraction,
140140

141-
/// Preserve order of entries.
141+
/// Do not sort the branches in the tree.
142142
#[clap(long)]
143143
pub no_sort: bool,
144144

0 commit comments

Comments
 (0)