diff mbox series

[v2,4/4] python/audit2allow: Remove unused "debug" option

Message ID 20230504120450.771407-5-vmojzis@redhat.com (mailing list archive)
State Accepted
Delegated to: Petr Lautrbach
Headers show
Series python: Improve man pages | expand

Commit Message

Vit Mojzis May 4, 2023, 12:04 p.m. UTC
The option is not referenced anywhere in the code and I couldn't figure
out its purpose from the description.

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
---
 python/audit2allow/audit2allow | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/python/audit2allow/audit2allow b/python/audit2allow/audit2allow
index eafeea88..5587a2db 100644
--- a/python/audit2allow/audit2allow
+++ b/python/audit2allow/audit2allow
@@ -88,8 +88,6 @@  class AuditToPolicy:
         parser.add_option("--interface-info", dest="interface_info", help="file name of interface information")
         parser.add_option("-x", "--xperms", action="store_true", dest="xperms",
                           default=False, help="generate extended permission rules")
-        parser.add_option("--debug", dest="debug", action="store_true", default=False,
-                          help="leave generated modules for -M")
         parser.add_option("-w", "--why", dest="audit2why", action="store_true", default=(os.path.basename(sys.argv[0]) == "audit2why"),
                           help="Translates SELinux audit messages into a description of why the access was denied")