Merge pull request #35 from cgzones/semanage_fcontext_description
fix semanage fcontext help message
This commit is contained in:
commit
6f32d87a2a
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue