diff options
author | Karl Berry <karl@freefriends.org> | 2008-05-31 16:50:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-05-31 16:50:58 +0000 |
commit | c5a524a7031e0adf2c8c800ab021de2ec1985345 (patch) | |
tree | 151fe48f9029eedc61f5706243569fc0c1243b31 /Master/texmf-dist/scripts/dviasm | |
parent | 2e270ec3196dbd55506f949083fc28607b99683b (diff) |
dviasm update
git-svn-id: svn://tug.org/texlive/trunk@8433 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/dviasm')
-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", |