From c1cac8dba6f7c6851d723e1e63eed3d29da2753c Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Thu, 18 Jul 2019 00:15:21 +0200
Subject: [PATCH acl 7/8] man: Document setfacl --restore=-

This special argument was not previously documented, and it is not
obvious from it might be supported.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
---
 man/man1/setfacl.1 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/man/man1/setfacl.1 b/man/man1/setfacl.1
index c4fe1f2..f1b5cb8 100644
--- a/man/man1/setfacl.1
+++ b/man/man1/setfacl.1
@@ -30,7 +30,7 @@ setfacl \- set file access control lists
 [\-bkndRLPvh] [{\-m|\-x} acl_spec] [{\-M|\-X} acl_file] file ...
 
 .B setfacl
-\-\-restore=file
+\-\-restore={file|-}
 
 .SH DESCRIPTION
 This utility sets Access Control Lists (ACLs) of files and directories.
@@ -107,13 +107,14 @@ All operations apply to the Default ACL. Regular ACL entries in the
 input set are promoted to Default ACL entries. Default ACL entries in
 the input set are discarded. (A warning is issued if that happens).
 .TP 4
-.I \-\-restore=file
+.I \-\-restore={file|-}
 Restore a permission backup created by `getfacl \-R' or similar. All permissions
 of a complete directory subtree are restored using this mechanism. If the input
 contains owner comments or group comments, setfacl attempts to restore the
 owner and owning group. If the input contains flags comments (which define the setuid,
 setgid, and sticky bits), setfacl sets those three bits accordingly; otherwise,
 it clears them. This option cannot be mixed with other options except `\-\-test'.
+If the file specified is '\fB-\fP', then it will be read from standard input.
 .TP 4
 .I \-\-test
 Test mode. Instead of changing the ACLs of any files, the resulting ACLs are listed.
-- 
2.22.0.657.g960e92d24f

