and fix typo in man page
Signed-off-by: Karel Zak <kzak@redhat.com>
COMPREPLY=( $(compgen -W "size" -- $cur) )
return 0
;;
+ '-c'|'--count')
+ COMPREPLY=( $(compgen -W "number" -- $cur) )
+ return 0
+ ;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
-*)
case $prev in
'report'|'reset')
- OPTS="--verbose --offset --length"
+ OPTS="--verbose --offset --length --count"
;;
*)
OPTS="--help --version"
is the number of sectors remaining after \fIoffset\fR. This option cannot be
used together with the option \fB\-\-count\fP.
.TP
-.BR \-l , " \-\-count "\fIcount\fP
+.BR \-c , " \-\-count "\fIcount\fP
The maximum number of zones the command should operate on. The default value
is the nuber of zones starting from \fIoffset\fR. This option cannot be
used together with the option \fB\-\-length\fP.