Signed-off-by: Yongcheng Yang <[email protected]>
---
nfs4_getfacl/nfs4_getfacl.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/nfs4_getfacl/nfs4_getfacl.c b/nfs4_getfacl/nfs4_getfacl.c
index 2f57866..e068095 100644
--- a/nfs4_getfacl/nfs4_getfacl.c
+++ b/nfs4_getfacl/nfs4_getfacl.c
@@ -135,7 +135,16 @@ static void usage(int label)
{
if (label)
fprintf(stderr, "%s %s -- get NFSv4 file or directory access control lists.\n", execname, VERSION);
- fprintf(stderr, "Usage: %s [-R] file ...\n -H, --more-help\tdisplay ACL format information\n -h, --help\tdisplay this help text\n -R --recursive\trecurse into subdirectories\n -c, --omit-header\tDo not display the comment header (Do not print filename)\n", execname);
+
+ static const char *gfusage = \
+ "Usage: %s [OPTIONS] file ...\n"
+ " .. where OPTIONS is any (or none) of:\n"
+ " -H, --more-help display ACL format information\n"
+ " -h, --help display this help text\n"
+ " -R, --recursive recurse into subdirectories\n"
+ " -c, --omit-header Do not display the comment header (Do not print filename)\n";
+
+ fprintf(stderr, gfusage, execname);
}
static void more_help()
--
2.20.1