Skip to content

Commit 6d618c5

Browse files
committed
Update completion files
1 parent 7503a1d commit 6d618c5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

exports/completion.fish

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
complete -c pdu -l bytes-format -d 'How to display the numbers of bytes' -r -f -a "{plain Display the value as-is,metric Display the value with a unit suffix in [metric scale](formatter::METRIC),binary Display the value with a unit suffix in [binary scale](formatter::BINARY)}"
2-
complete -c pdu -l quantity -d 'Aspect of the files/directories to be measured' -r -f -a "{len Measure apparent sizes\, equivalent to the [len](std::fs::Metadata::len) method,blksize Measure block sizes\, equivalent to the [blksize](std::os::unix::prelude::MetadataExt::blksize) method (POSIX only),blocks Count numbers of blocks\, equivalent to the [blocks](std::os::unix::prelude::MetadataExt::blocks) method (POSIX only)}"
1+
complete -c pdu -l bytes-format -d 'How to display the numbers of bytes' -r -f -a "{plain Display plain number of bytes without units,metric Use metric scale\, i.e. 1K = 1000B\, 1M = 1000K\, and so on,binary Use binary scale\, i.e. 1K = 1024B\, 1M = 1024K\, and so on}"
2+
complete -c pdu -l quantity -d 'Aspect of the files/directories to be measured' -r -f -a "{len Measure apparent sizes,blksize Measure blksize,blocks Count number of blocks}"
33
complete -c pdu -l max-depth -d 'Maximum depth to display the data (must be greater than 0)' -r
44
complete -c pdu -l total-width -d 'Width of the visualization' -r
55
complete -c pdu -l column-width -d 'Maximum widths of the tree column and width of the bar column' -r

exports/completion.zsh

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ _pdu() {
1515

1616
local context curcontext="$curcontext" state line
1717
_arguments "${_arguments_options[@]}" \
18-
'--bytes-format=[How to display the numbers of bytes]:BYTES_FORMAT:((plain\:"Display the value as-is"
19-
metric\:"Display the value with a unit suffix in \[metric scale\](formatter::METRIC)"
20-
binary\:"Display the value with a unit suffix in \[binary scale\](formatter::BINARY)"))' \
21-
'--quantity=[Aspect of the files/directories to be measured]:QUANTITY:((len\:"Measure apparent sizes, equivalent to the \[len\](std::fs::Metadata::len) method"
22-
blksize\:"Measure block sizes, equivalent to the \[blksize\](std::os::unix::prelude::MetadataExt::blksize) method (POSIX only)"
23-
blocks\:"Count numbers of blocks, equivalent to the \[blocks\](std::os::unix::prelude::MetadataExt::blocks) method (POSIX only)"))' \
18+
'--bytes-format=[How to display the numbers of bytes]:BYTES_FORMAT:((plain\:"Display plain number of bytes without units"
19+
metric\:"Use metric scale, i.e. 1K = 1000B, 1M = 1000K, and so on"
20+
binary\:"Use binary scale, i.e. 1K = 1024B, 1M = 1024K, and so on"))' \
21+
'--quantity=[Aspect of the files/directories to be measured]:QUANTITY:((len\:"Measure apparent sizes"
22+
blksize\:"Measure blksize"
23+
blocks\:"Count number of blocks"))' \
2424
'--max-depth=[Maximum depth to display the data (must be greater than 0)]:MAX_DEPTH: ' \
2525
'(--column-width)--total-width=[Width of the visualization]:TOTAL_WIDTH: ' \
2626
'*--column-width=[Maximum widths of the tree column and width of the bar column]:TREE_WIDTH: :TREE_WIDTH: ' \

0 commit comments

Comments
 (0)