diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2020-04-10 10:05:17 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2020-04-10 10:05:17 +0200 |
commit | fe3086a7339f0c2731fb1a14f6ef0e4d93a0377e (patch) | |
tree | 47dbe6b20205c9faecee0217a863486e68ef253e /icebox/icebox_vlog.py | |
parent | d1cee1d4ae545fdca995cd656ef52d8923aa77e9 (diff) | |
download | icestorm-fe3086a7339f0c2731fb1a14f6ef0e4d93a0377e.tar.gz icestorm-fe3086a7339f0c2731fb1a14f6ef0e4d93a0377e.tar.bz2 icestorm-fe3086a7339f0c2731fb1a14f6ef0e4d93a0377e.zip |
Support custom PROGRAM_PREFIX
Diffstat (limited to 'icebox/icebox_vlog.py')
-rwxr-xr-x | icebox/icebox_vlog.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/icebox/icebox_vlog.py b/icebox/icebox_vlog.py index a2c7950..0133347 100755 --- a/icebox/icebox_vlog.py +++ b/icebox/icebox_vlog.py @@ -17,7 +17,7 @@ import icebox from icebox import re_match_cached, re_sub_cached, re_search_cached -import getopt, sys, re +import getopt, sys, re, os strip_comments = False strip_interconn = False @@ -34,7 +34,7 @@ modname = "chip" def usage(): print(""" -Usage: icebox_vlog [options] [bitmap.asc] +Usage: %s [options] [bitmap.asc] -s strip comments from output @@ -70,7 +70,7 @@ Usage: icebox_vlog [options] [bitmap.asc] -D enable exactly-one-driver checks -""") +""" % os.path.basename(sys.argv[0])) sys.exit(0) try: |