From c5a524a7031e0adf2c8c800ab021de2ec1985345 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 31 May 2008 16:50:58 +0000 Subject: dviasm update git-svn-id: svn://tug.org/texlive/trunk@8433 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/dviasm/dviasm.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Master') 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 @@ -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", -- cgit v1.2.3