Changes in doc/user-guide/genhelp.py [ad678a4:1cef55f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user-guide/genhelp.py
rad678a4 r1cef55f 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 variable 7 # before running ./configure instead 5 8 6 9 # This program is free software; you can redistribute it and/or … … 20 23 21 24 25 import os 22 26 import re 23 27 import sys … … 222 226 return 223 227 228 # ensure that we really are in the same directory as the input file 229 os.chdir(os.path.dirname(os.path.abspath(sys.argv[1]))) 230 224 231 txt = process_file(sys.argv[1]) 225 232 open(sys.argv[2], "w").write(txt)
Note: See TracChangeset
for help on using the changeset viewer.