mirror of
https://github.com/thegeeklab/docker-tidy.git
synced 2024-11-28 23:20:36 +00:00
parent
814b64c11e
commit
8eb165385f
@ -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.")
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user