diff options
| author | Claire Wolf <clifford@clifford.at> | 2020-04-10 14:08:39 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-10 14:08:39 +0200 | 
| commit | 879d5b261c9035fef915671b9a9f85f3ae46a223 (patch) | |
| tree | 47dbe6b20205c9faecee0217a863486e68ef253e /icebox/icebox_explain.py | |
| parent | d1cee1d4ae545fdca995cd656ef52d8923aa77e9 (diff) | |
| parent | fe3086a7339f0c2731fb1a14f6ef0e4d93a0377e (diff) | |
| download | icestorm-879d5b261c9035fef915671b9a9f85f3ae46a223.tar.gz icestorm-879d5b261c9035fef915671b9a9f85f3ae46a223.tar.bz2 icestorm-879d5b261c9035fef915671b9a9f85f3ae46a223.zip | |
Merge pull request #248 from mmicko/program_prefix
Support custom PROGRAM_PREFIX
Diffstat (limited to 'icebox/icebox_explain.py')
| -rwxr-xr-x | icebox/icebox_explain.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/icebox/icebox_explain.py b/icebox/icebox_explain.py index f843c09..25061ab 100755 --- a/icebox/icebox_explain.py +++ b/icebox/icebox_explain.py @@ -17,7 +17,7 @@  import icebox  from icebox import re_match_cached, re_search_cached -import getopt, sys, re +import getopt, sys, re, os  print_bits = False  print_map = False @@ -26,7 +26,7 @@ print_all = False  def usage():      print(""" -Usage: icebox_explain [options] [bitmap.asc] +Usage: %s [options] [bitmap.asc]      -b          print config bit names for each config statement @@ -39,7 +39,7 @@ Usage: icebox_explain [options] [bitmap.asc]      -t '<x-coordinate> <y-coordinate>'          print only the specified tile -""") +""" % os.path.basename(sys.argv[0]))      sys.exit(0)  try: | 
