mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 13:58:22 +00:00
utils/tests/: Merge 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. I propose this patch for 4.0 and master. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1226 Approved-by: Steve Beattie <steve+gitlab@nxnw.org> Merged-by: Steve Beattie <steve+gitlab@nxnw.org>
This commit is contained in:
commit
0135bd1176
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user