From e19d6024ce6f27a6f2f8031232d521d1aadcfcf4 Mon Sep 17 00:00:00 2001 From: dxghost Date: Sun, 31 Jan 2021 05:08:11 +0330 Subject: [PATCH] Fix help message default values --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 65853a9..b499e3f 100644 --- a/main.py +++ b/main.py @@ -72,9 +72,9 @@ def main(image_path, columns, rows, verbose): parser.add_argument("-i", metavar='i', type=str, help="image path", required=True) parser.add_argument( - '-c', metavar='i', type=int, help="-c columns to remove, default: 1", default=0) + '-c', metavar='i', type=int, help="-c columns to remove, default: 0", default=0) parser.add_argument( - '-r', metavar='i', type=int, help="-r rows to remove, default: 1", default=0) + '-r', metavar='i', type=int, help="-r rows to remove, default: 0", default=0) parser.add_argument('-v', metavar='v', type=bool, help="-v store each step seam into output directory, default: False", default=False, action=argparse.BooleanOptionalAction)