Revert "Print usage when argv empty"

This reverts commit fab8c8ba1c.
This commit is contained in:
Sam 2018-03-06 13:02:38 -05:00
parent 814b64c11e
commit 8eb165385f
2 changed files with 0 additions and 8 deletions

View File

@ -95,10 +95,6 @@ def get_opts(args=None):
) )
opts = parser.parse_args(args=args) opts = parser.parse_args(args=args)
if len(sys.argv) < 2:
parser.print_help()
exit(0)
if not opts.prefix: if not opts.prefix:
parser.error("Running with no --prefix will match nothing.") parser.error("Running with no --prefix will match nothing.")

View File

@ -269,10 +269,6 @@ def get_args(args=None):
help="Path to a file which contains a list of images to exclude, one " help="Path to a file which contains a list of images to exclude, one "
"image tag per line.") "image tag per line.")
if len(sys.argv) < 2:
parser.print_help()
exit(0)
return parser.parse_args(args=args) return parser.parse_args(args=args)