opnsense-ports/devel/py-awscli/files/patch-awscli_help.py
Franco Fichtner 249465794e */*: sync with upstream
Taken from: FreeBSD
2022-11-21 10:39:45 +01:00

11 lines
516 B
Python

--- awscli/help.py.orig 2022-11-14 19:07:18 UTC
+++ awscli/help.py
@@ -109,7 +109,7 @@ class PosixHelpRenderer(PagingHelpRenderer):
if self._exists_on_path('groff'):
cmdline = ['groff', '-m', 'man', '-T', 'ascii']
elif self._exists_on_path('mandoc'):
- cmdline = ['mandoc', '-T', 'ascii']
+ cmdline = ['mandoc', '-man', '-T', 'ascii']
else:
raise ExecutableNotFoundError('groff or mandoc')
LOG.debug("Running command: %s", cmdline)