Skip to content

Commit 1d52a82

Browse files
committed
docs(cli): more comprehensible description
1 parent d467923 commit 1d52a82

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

exports/completion.elv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ set edit:completion:arg-completer[pdu] = {|@words|
3131
cand --json-output 'Print JSON data instead of an ASCII chart'
3232
cand --top-down 'Print the tree top-down instead of bottom-up'
3333
cand --align-right 'Set the root of the bars to the right'
34-
cand --no-sort 'Preserve order of entries'
34+
cand --no-sort 'Do not sort the branches in the tree'
3535
cand --silent-errors 'Prevent filesystem error messages from appearing in stderr'
3636
cand --no-errors 'Prevent filesystem error messages from appearing in stderr'
3737
cand --progress 'Report progress being made at the expense of performance'

exports/completion.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ 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'
1414
complete -c pdu -l top-down -d 'Print the tree top-down instead of bottom-up'
1515
complete -c pdu -l align-right -d 'Set the root of the bars to the right'
16-
complete -c pdu -l no-sort -d 'Preserve order of entries'
16+
complete -c pdu -l no-sort -d 'Do not sort the branches in the tree'
1717
complete -c pdu -l silent-errors -l no-errors -d 'Prevent filesystem error messages from appearing in stderr'
1818
complete -c pdu -l progress -d 'Report progress being made at the expense of performance'
1919
complete -c pdu -s h -l help -d 'Print help (see more with \'--help\')'

exports/completion.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Register-ArgumentCompleter -Native -CommandName 'pdu' -ScriptBlock {
3434
[CompletionResult]::new('--json-output', '--json-output', [CompletionResultType]::ParameterName, 'Print JSON data instead of an ASCII chart')
3535
[CompletionResult]::new('--top-down', '--top-down', [CompletionResultType]::ParameterName, 'Print the tree top-down instead of bottom-up')
3636
[CompletionResult]::new('--align-right', '--align-right', [CompletionResultType]::ParameterName, 'Set the root of the bars to the right')
37-
[CompletionResult]::new('--no-sort', '--no-sort', [CompletionResultType]::ParameterName, 'Preserve order of entries')
37+
[CompletionResult]::new('--no-sort', '--no-sort', [CompletionResultType]::ParameterName, 'Do not sort the branches in the tree')
3838
[CompletionResult]::new('--silent-errors', '--silent-errors', [CompletionResultType]::ParameterName, 'Prevent filesystem error messages from appearing in stderr')
3939
[CompletionResult]::new('--no-errors', '--no-errors', [CompletionResultType]::ParameterName, 'Prevent filesystem error messages from appearing in stderr')
4040
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Report progress being made at the expense of performance')

exports/completion.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ block-count\:"Count numbers of blocks"))' \
3232
'--json-output[Print JSON data instead of an ASCII chart]' \
3333
'--top-down[Print the tree top-down instead of bottom-up]' \
3434
'--align-right[Set the root of the bars to the right]' \
35-
'--no-sort[Preserve order of entries]' \
35+
'--no-sort[Do not sort the branches in the tree]' \
3636
'--silent-errors[Prevent filesystem error messages from appearing in stderr]' \
3737
'--no-errors[Prevent filesystem error messages from appearing in stderr]' \
3838
'--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
@@ -126,7 +126,7 @@ pub struct Args {
126126
#[clap(long, default_value = "0.01")]
127127
pub min_ratio: Fraction,
128128

129-
/// Preserve order of entries.
129+
/// Do not sort the branches in the tree.
130130
#[clap(long)]
131131
pub no_sort: bool,
132132

0 commit comments

Comments
 (0)