Changes in doc/user-guide/genhelp.py [1cef55f:ad678a4]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user-guide/genhelp.py
r1cef55f rad678a4 3 3 # Usage: python genhelp.py input.xml output.txt 4 4 # (Both python2 (>=2.5) or python3 work) 5 #6 # The shebang above isn't used, set the PYTHON environment variable7 # before running ./configure instead8 5 9 6 # This program is free software; you can redistribute it and/or … … 23 20 24 21 25 import os26 22 import re 27 23 import sys … … 226 222 return 227 223 228 # ensure that we really are in the same directory as the input file229 os.chdir(os.path.dirname(os.path.abspath(sys.argv[1])))230 231 224 txt = process_file(sys.argv[1]) 232 225 open(sys.argv[2], "w").write(txt)
Note: See TracChangeset
for help on using the changeset viewer.