☰
Debian Codegraph
@
3.1.0-1
/
/
scripts
/
make-help.py
☽
☼
scripts/make-help.py
code
plain
raw
BSD-3-clause
2021, Gianluca Gippetto
debian/copyright
1
import re
2
import sys
3
4
regex = re.compile(r'^([a-zA-Z_-]+):.*?## (.*)$')
5
6
for line in sys.stdin:
7
match = regex.match(line)
8
if match:
9
target, help = match.groups()
10
print("%-20s %s" % (target, help))