fix semanage fcontext help message

the ftype options were incorrect
This commit is contained in:
cgzones 2016-11-24 20:01:26 +01:00
parent 2907caa33c
commit 1e605e9905
1 changed files with 4 additions and 4 deletions

View File

@ -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)