2 # Creates Texinfo documentation from the source
8 @c Generated from %s by get-commands.py
11 @table @asis""" % sys.argv[1])
12 for line in open(sys.argv[1], 'r'):
13 m = re.match(r'^\s*UNIMPL_CMD\s*\(\s*"([^"]*)"\s*,\s*"([^"]*)"\)\s*$', line)
15 command, description = m.groups()
16 print("@item @cmd{%s}\n%s\n" % (command, description))
20 @c buffer-read-only: t