mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
Don't rely on argparse saying "options:"
Some argparse versions (for example on openSUSE Leap 15.5) instead say "optional arguments:" Don't rely on the "options:" line to allow both wordings.
This commit is contained in:
@@ -194,7 +194,6 @@ Display AppArmor notifications or messages for DENIED entries.
|
||||
|
||||
expected_output_2 = \
|
||||
'''
|
||||
options:
|
||||
-h, --help show this help message and exit
|
||||
-p, --poll poll AppArmor logs and display notifications
|
||||
--display DISPLAY set the DISPLAY environment variable (might be needed if
|
||||
|
Reference in New Issue
Block a user