Skip to content

Commit

Permalink
hocr-split: -help -> --help, #14
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed May 20, 2016
1 parent 60f0bc4 commit a41918c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hocr-split
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def print_usage():
sys.stderr.write("usage: %s file.html pattern\n" % sys.argv[0])
sys.stderr.write(" where 'pattern' is something like 'base-%%03d.html'\n")

if len(sys.argv)>1 and (sys.argv[1] == '-h' or sys.argv[1] == '-help'):
if len(sys.argv)>1 and (sys.argv[1] == '-h' or sys.argv[1] == '--help'):
print_usage()
sys.exit(0)

Expand Down

0 comments on commit a41918c

Please sign in to comment.