From ade705cf5b36cdaad29ec7e21796adc3a0854f2c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 12 Sep 2010 18:56:40 +0000 Subject: 28253: document -h argument to atribute commands --- Doc/Zsh/mod_attr.yo | 10 ++++++---- Doc/Zsh/options.yo | 13 +++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) (limited to 'Doc/Zsh') diff --git a/Doc/Zsh/mod_attr.yo b/Doc/Zsh/mod_attr.yo index 96ac2e011..566e67f2b 100644 --- a/Doc/Zsh/mod_attr.yo +++ b/Doc/Zsh/mod_attr.yo @@ -2,31 +2,33 @@ COMMENT(!MOD!zsh/attr Builtins for manipulating extended attributes (xattr). !MOD!) The tt(zsh/attr) module is used for manipulating extended attributes. +The tt(-h) option causes all commands to operate on symbolic links instead +of their targets. The builtins in this module are: startitem() findex(zgetattr) cindex(extended attributes, xattr, getting from files) -item(tt(zgetattr) var(filename) var(attribute) [ var(parameter) ])( +item(tt(zgetattr) [ tt(-h) ] var(filename) var(attribute) [ var(parameter) ])( Get the extended attribute var(attribute) from the specified var(filename). If the optional argument var(parameter) is given, the attribute is set on that parameter instead of being printed to stdout. ) findex(zsetattr) cindex(extended attributes, xattr, setting on files) -item(tt(zsetattr) var(filename) var(attribute) var(value))( +item(tt(zsetattr) [ tt(-h) ] var(filename) var(attribute) var(value))( Set the extended attribute var(attribute) on the specified var(filename) to var(value). ) findex(zdelattr) cindex(extended attributes, xattr, removing, deleting) -item(tt(zdelattr) var(filename) var(attribute))( +item(tt(zdelattr) [ tt(-h) ] var(filename) var(attribute))( Remove the extended attribute var(attribute) from the specified var(filename). ) findex(zlistattr) cindex(extended attributes, xattr, listing) -item(tt(zlistattr) var(filename) [ var(parameter) ])( +item(tt(zlistattr) [ tt(-h) ] var(filename) [ var(parameter) ])( List the extended attributes currently set on the specified var(filename). If the optional argument var(parameter) is given, the list of attributes is set on that parameter instead of being printed to stdout. diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index a86fbe68e..342df4680 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -1876,6 +1876,19 @@ If multibyte character support is not compiled into the shell this option is ignored; all octets with the top bit set may be used in identifiers. This is non-standard but is the traditional zsh behaviour. ) +pindex(POSIX_TRAPS) +pindex(NO_POSIX_TRAPS) +pindex(POSIXTRAPS) +pindex(NOPOSIXTRAPS) +cindex(traps, on function exit) +cindex(traps, POSIX compatibility) +item(tt(POSIX_TRAPS) )( +When the is option is set, the usual zsh behaviour of executing +traps for tt(EXIT) on exit from shell functions is suppressed. +In that case, manipulating tt(EXIT) traps always alters the global +trap for exiting the shell; the tt(LOCAL_TRAPS) option is +ignored for the tt(EXIT) trap. +) pindex(SH_FILE_EXPANSION) pindex(NO_SH_FILE_EXPANSION) pindex(SHFILEEXPANSION) -- cgit 1.4.1