Skip to content

Commit

Permalink
default param
Browse files Browse the repository at this point in the history
  • Loading branch information
georgegach committed Oct 11, 2018
1 parent d7b1701 commit 7567f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

parser = ArgumentParser()
parser.add_argument('-i', '--input-dir', dest="input", help="Specify the input directory", type=str, required=True)
parser.add_argument('-ow', '--output-width', dest="width", help="Specify the output file width. Default 300", type=int)
parser.add_argument('-oh', '--output-height', dest="height", help="Specify the output file height. Default 400", type=int)
parser.add_argument('-ow', '--output-width', dest="width", help="Specify the output file width. Default 300", type=int, default=300)
parser.add_argument('-oh', '--output-height', dest="height", help="Specify the output file height. Default 400", type=int, default=400)
parser.add_argument('-e', '--extensions', dest="ext", help="Specify the file extensions like *.jpg *.whatevs.file", nargs="+")
parser.add_argument('-o', '--output-path', dest="output", help="Specify the output path for writing result. Default ./results/[input-dir-names].jpg", type=str)
parser.add_argument('-w', '--window', dest="window", help="Shows window if specified", action="store_true", default=False)
Expand Down

0 comments on commit 7567f2f

Please sign in to comment.