aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregor Kopka <[email protected]>2018-09-18 17:55:33 +0200
committerBrian Behlendorf <[email protected]>2018-09-18 08:55:33 -0700
commit48b0b649fd49fa2c725237ee4d054521769e0a86 (patch)
tree1c62cca6c80ee8acf95117008afb1e2bd9635a6f
parent2ced3cf0b2c5cc84885bd4c8c07878145a94c036 (diff)
Man page fixes - zpool/zfs optional parameters
The man pages for zpool and zfs (get command) listed the pool/dataset parameter as required, but these are optional. Fixed that. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Gregor Kopka <[email protected]> Closes #7916
-rw-r--r--man/man8/zfs.84
-rw-r--r--man/man8/zpool.84
2 files changed, 4 insertions, 4 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8
index 00196d9bd..da7ee83ae 100644
--- a/man/man8/zfs.8
+++ b/man/man8/zfs.8
@@ -117,7 +117,7 @@
.Oo Fl s Ar source Ns Oo , Ns Ar source Oc Ns ... Oc
.Oo Fl t Ar type Ns Oo , Ns Ar type Oc Ns ... Oc
.Cm all | Ar property Ns Oo , Ns Ar property Oc Ns ...
-.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot Ns | Ns Ar bookmark Ns ...
+.Oo Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot Ns | Ns Ar bookmark Oc Ns ...
.Nm
.Cm inherit
.Op Fl rS
@@ -2941,7 +2941,7 @@ section.
.Oo Fl s Ar source Ns Oo , Ns Ar source Oc Ns ... Oc
.Oo Fl t Ar type Ns Oo , Ns Ar type Oc Ns ... Oc
.Cm all | Ar property Ns Oo , Ns Ar property Oc Ns ...
-.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot Ns | Ns Ar bookmark Ns ...
+.Oo Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot Ns | Ns Ar bookmark Oc Ns ...
.Xc
Displays properties for the given datasets.
If no datasets are specified, then the command displays properties for all
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8
index 542615991..28565b4cd 100644
--- a/man/man8/zpool.8
+++ b/man/man8/zpool.8
@@ -83,7 +83,7 @@
.Op Fl Hp
.Op Fl o Ar field Ns Oo , Ns Ar field Oc Ns ...
.Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns ...
-.Ar pool Ns ...
+.Oo Ar pool Oc Ns ...
.Nm
.Cm history
.Op Fl il
@@ -1226,7 +1226,7 @@ This may lead to potential data corruption.
.Op Fl Hp
.Op Fl o Ar field Ns Oo , Ns Ar field Oc Ns ...
.Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns ...
-.Ar pool Ns ...
+.Oo Ar pool Oc Ns ...
.Xc
Retrieves the given list of properties
.Po