aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2019-10-10 09:49:45 -0700
committerGitHub <[email protected]>2019-10-10 09:49:45 -0700
commitf3dc4a85e92712a71ede0f81d6749f479cccf893 (patch)
tree97ccd9de474fd5999cccb179f61b15f3907618dc
parente4f5fa12290016b2f1fd6a5b4c7e5733c788c863 (diff)
Update `zfs program` command usage
Update the zfs(8) man page to clearly describe that arguments for channel programs are to be listed after the -- sentinel which terminates argument processing. This behavior is supported by getopt on Linux, FreeBSD, and Illumos according to each platforms respective man pages. zfs program [-jn] [-t instruction-limit] [-m memory-limit] pool script [--] arg1 ... Reviewed-by: Clint Armstrong <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: loli10K <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #9056 Closes #9428
-rw-r--r--man/man8/zfs.86
1 files changed, 4 insertions, 2 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8
index 09fa2831b..ee7a111ed 100644
--- a/man/man8/zfs.8
+++ b/man/man8/zfs.8
@@ -316,7 +316,8 @@
.Op Fl t Ar instruction-limit
.Op Fl m Ar memory-limit
.Ar pool script
-.Op Ar arg1 No ...
+.Op --
+.Ar arg1 No ...
.Nm
.Cm load-key
.Op Fl nr
@@ -4756,7 +4757,8 @@ Display the path's inode change time as the first column of output.
.Op Fl t Ar instruction-limit
.Op Fl m Ar memory-limit
.Ar pool script
-.Op Ar arg1 No ...
+.Op --
+.Ar arg1 No ...
.Xc
Executes
.Ar script