aboutsummaryrefslogtreecommitdiffstats
path: root/icebox/icebox_colbuf.py
diff options
context:
space:
mode:
authorClaire Wolf <clifford@clifford.at>2020-04-10 14:08:39 +0200
committerGitHub <noreply@github.com>2020-04-10 14:08:39 +0200
commit879d5b261c9035fef915671b9a9f85f3ae46a223 (patch)
tree47dbe6b20205c9faecee0217a863486e68ef253e /icebox/icebox_colbuf.py
parentd1cee1d4ae545fdca995cd656ef52d8923aa77e9 (diff)
parentfe3086a7339f0c2731fb1a14f6ef0e4d93a0377e (diff)
downloadicestorm-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_colbuf.py')
-rwxr-xr-xicebox/icebox_colbuf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/icebox/icebox_colbuf.py b/icebox/icebox_colbuf.py
index ec6843e..3003a90 100755
--- a/icebox/icebox_colbuf.py
+++ b/icebox/icebox_colbuf.py
@@ -17,21 +17,21 @@
import icebox
from icebox import re_match_cached
-import getopt, sys, re
+import getopt, sys, re, os
check_mode = False
fixup_mode = False
def usage():
print("""
-Usage: icebox_colbuf [options] [input.asc [output.asc]]
+Usage: %s [options] [input.asc [output.asc]]
-c
check colbuf bits
-f
fix colbuf bits
-""")
+""" % os.path.basename(sys.argv[0]))
sys.exit(1)
try: