From f3dc4a85e92712a71ede0f81d6749f479cccf893 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 10 Oct 2019 09:49:45 -0700 Subject: 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 Reviewed-by: George Melikov Reviewed-by: loli10K Signed-off-by: Brian Behlendorf Closes #9056 Closes #9428 --- man/man8/zfs.8 | 6 ++++-- 1 file 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 -- cgit v1.2.3