Skip to content

Commit

Permalink
Fix status command options in zpool(8)
Browse files Browse the repository at this point in the history
The 'zpool status' command supports the -P option for printing full
path names.  It does not support the -p parsable option for printing
exact values.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#6792
Closes openzfs#6794
  • Loading branch information
behlendorf authored and Nasf-Fan committed Nov 4, 2017
1 parent c9dd9cf commit b12eac0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions man/man8/zpool.8
Original file line number Diff line number Diff line change
Expand Up @@ -1983,9 +1983,10 @@ Display real paths for vdevs resolving all symbolic links. This can
be used to look up the current block device name regardless of the
.Pa /dev/disk/
path used to open it.
.It Fl p
Display numbers in parsable (exact) values. Time values are in
nanoseconds.
.It Fl P
Display full paths for vdevs instead of only the last component of
the path. This can be used in conjunction with the
.Fl L flag.
.It Fl D
Display a histogram of deduplication statistics, showing the allocated
.Pq physically present on disk
Expand Down

0 comments on commit b12eac0

Please sign in to comment.