summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordana <dana@dana.is>2025-04-27 10:04:49 -0500
committerdana <dana@dana.is>2025-04-27 10:04:49 -0500
commit0e369f37d637874b45faa43a0896e70f45739abc (patch)
tree6cfe017c69f88a8996b0a6ffd4cf5cb9daf6749a
parent84ef0c523878625feeed8cd0a5c142929d8b4d06 (diff)
downloadzsh-0e369f37d637874b45faa43a0896e70f45739abc.tar.gz
zsh-0e369f37d637874b45faa43a0896e70f45739abc.zip
unposted: docs: adjust zgetopt wording
per workers/53518
-rw-r--r--ChangeLog2
-rw-r--r--Doc/Zsh/contrib.yo14
2 files changed, 9 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index de8fc6f3d..a02917bad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2025-04-27 dana <dana@dana.is>
+ * unposted: Doc/Zsh/contrib.yo: adjust zgetopt wording
+
* 53516: Doc/Zsh/contrib.yo, Functions/Misc/zgetopt, NEWS,
Test/Z04zgetopt.ztst: add zgetopt contrib function
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 030b63029..515b70f51 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -4710,13 +4710,13 @@ overwrites the caller's positional parameters. Has no meaning when
called as a script, in which case the parsed and quoted arguments are
always printed to standard output. An empty string forces the
printing behaviour in either mode.)
-sitem(tt(-a))(Use Sun-style single-hyphenated long options instead of
-GNU-style double-hyphenated ones (tt(-foo) vs tt(--foo)). Note that
-long options with optional optargs can't always be distinguished
-accurately from short options with optional optargs when using this
-option. Also, due to limitations of tt(zparseopts), a Sun-style long
-option whose name is only one character long is always treated as a
-short option.)
+sitem(tt(-a))(Use `alternative'-style single-hyphenated long options
+instead of GNU-style double-hyphenated ones (tt(-foo) vs tt(--foo)).
+Note that long options with optional optargs can't always be
+distinguished accurately from short options with optional optargs
+when using this option. Also, due to limitations of tt(zparseopts),
+a single-hyphenated long option whose name is only one character long
+is always treated as a short option.)
sitem(tt(-l var(spec)))(Specify long options to recognise when
parsing. These should be given using just the option name (no
dashes), suffixed by `tt(:)' or `tt(::)' if it takes a mandatory or