From 1e605e9905d354c2727cd65ea0f85f0e23470bf7 Mon Sep 17 00:00:00 2001 From: cgzones Date: Thu, 24 Nov 2016 20:01:26 +0100 Subject: [PATCH] fix semanage fcontext help message the ftype options were incorrect --- python/semanage/semanage | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/semanage/semanage b/python/semanage/semanage index 19a6c519..a445d566 100644 --- a/python/semanage/semanage +++ b/python/semanage/semanage @@ -384,11 +384,11 @@ def handleFcontext(args): def setupFcontextParser(subparsers): ftype_help = ''' File Type. This is used with fcontext. Requires a file type -as shown in the mode field by ls, e.g. use -d to match only -directories or -- to match only regular files. The following +as shown in the mode field by ls, e.g. use d to match only +directories or f to match only regular files. The following file type options can be passed: --- (regular file),-d (directory),-c (character device), --b (block device),-s (socket),-l (symbolic link),-p (named pipe) +f (regular file),d (directory),c (character device), +b (block device),s (socket),l (symbolic link),p (named pipe) If you do not specify a file type, the file type will default to "all files". ''' generate_usage = generate_custom_usage(usage_fcontext, usage_fcontext_dict)