mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 23:05:11 +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 = \
|
expected_output_2 = \
|
||||||
'''
|
'''
|
||||||
options:
|
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-p, --poll poll AppArmor logs and display notifications
|
-p, --poll poll AppArmor logs and display notifications
|
||||||
--display DISPLAY set the DISPLAY environment variable (might be needed if
|
--display DISPLAY set the DISPLAY environment variable (might be needed if
|
||||||
|
Reference in New Issue
Block a user