diff options
Diffstat (limited to 'Master/texmf-dist/scripts/dviasm/dviasm.py')
-rwxr-xr-x | Master/texmf-dist/scripts/dviasm/dviasm.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/dviasm/dviasm.py b/Master/texmf-dist/scripts/dviasm/dviasm.py index 4fadc21e6dc..adfe77c1609 100755 --- a/Master/texmf-dist/scripts/dviasm/dviasm.py +++ b/Master/texmf-dist/scripts/dviasm/dviasm.py @@ -864,7 +864,15 @@ class DVI(object): # Misc Functions for Main Routine ############################################################ def ProcessOptions(): - usage = "%prog [options] dvi_file|dvi_dump_file" + usage = """%prog [options] dvi_file|dvi_dump_file + +DVIasm is a Python script to support changing or creating DVI files +via disassembling into text, editing, and then reassembling into +binary format. It is fully documented at + +http://tug.org/TUGboat/Articles/tb28-2/tb89cho.pdf +http://ajt.ktug.kr/assets/2008/5/1/0201cho.pdf""" + version = """This is %prog-20080520 by Jin-Hwan Cho (Korean TeX Society) Copyright (C) 2007-2008 by Jin-Hwan Cho <chofchof@ktug.or.kr> @@ -873,6 +881,7 @@ This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.""" + parser = OptionParser(usage=usage, version=version) parser.add_option("-u", "--unit", action="store", type="string", dest="unit", |