mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 11:58:55 +00:00
commands/show: change man section to 7
Change the man page section from 1 7. "Misc. information" is more appropriate for plugin documentation than "Executable commands".
This commit is contained in:
parent
b1b2131b0c
commit
887cdcc411
@ -69,7 +69,7 @@ class ShowCommand(Command):
|
||||
|
||||
# Correctly format the title and page number of the man page
|
||||
title, body = output.split('\n', 1)
|
||||
title = '.TH {}{} 1'.format(kind, plugin_name)
|
||||
title = '.TH {}{} 7'.format(kind, plugin_name)
|
||||
output = '\n'.join([title, body])
|
||||
|
||||
call('echo "{}" | man -l -'.format(escape_double_quotes(output)), shell=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user