From e7017e61a6bbe21cb5b7299e43ba4030f4859262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Fri, 7 Jun 2019 22:43:34 +0200 Subject: [PATCH] Arguments are required here. --- bin/stegano-steganalysis-parity | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/stegano-steganalysis-parity b/bin/stegano-steganalysis-parity index 32e4ef3..ffd2be4 100644 --- a/bin/stegano-steganalysis-parity +++ b/bin/stegano-steganalysis-parity @@ -34,9 +34,9 @@ from PIL import Image import argparse parser = argparse.ArgumentParser(prog='stegano-steganalysis-parity') parser.add_argument("-i", "--input", dest="input_image_file", - help="Image file") + required=True, help="Input image file.") parser.add_argument("-o", "--output", dest="output_image_file", - help="Image file") + required=True, help="Output image file.") arguments = parser.parse_args() input_image_file = Image.open(arguments.input_image_file)