diff options
author | Christian Franke <christian.franke@t-online.de> | 2021-05-20 12:05:29 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2021-05-20 23:29:58 +0300 |
commit | cb674a4ad14d90852f0d75d72ed110fcce5dea50 (patch) | |
tree | eee5005facc90bca5b1c2542ac1540e1e6ac5e5e /winsup/doc | |
parent | 0c0f3df224c51769d3095769cc78005967495f85 (diff) |
Cygwin: utils: chattr: Improve option parsing, fix some messages.
Allow multiple characters also in first '-mode' argument.
Use '-H' instead of '-h' for '--help' to fix ambiguity with
hidden attribute. Fix help and usage texts and documentation.
Signed-off-by: Christian Franke <christian.franke@t-online.de>
Diffstat (limited to 'winsup/doc')
-rw-r--r-- | winsup/doc/utils.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml index 22bd86904..69611b954 100644 --- a/winsup/doc/utils.xml +++ b/winsup/doc/utils.xml @@ -27,18 +27,18 @@ <refsynopsisdiv> <screen> -chattr [-RVfhv] [+-=mode]... [file]... +chattr [-RVfHv] [+-=mode]... [file]... </screen> </refsynopsisdiv> <refsect1 id="chattr-options"> <title>Options</title> <screen> - -R, --recursive recursively list attributes of directories and their - contents + -R, --recursive recursively apply the changes to directories and + their contents -V, --verbose Be verbose during operation -f, --force suppress error messages - -h, --help this help text + -H, --help this help text -v, --version display the program version </screen> </refsect1> @@ -60,7 +60,7 @@ chattr [-RVfhv] [+-=mode]... [file]... <para>Supported attributes:</para> <screen> - 'r', 'Readonly': file is read-only + 'r', 'Readonly': file is read-only 'h', 'Hidden': file or directory is hidden 's', 'System': file or directory that the operating system uses 'a', 'Archive': file or directory has the archive marker set |