From f804c0bddfb95d353cf0c4f0ff64fb896fb38c02 Mon Sep 17 00:00:00 2001 From: Miheev Egor Date: Thu, 19 Sep 2024 13:56:05 +0300 Subject: [PATCH] =?UTF-8?q?fix(utils):=20=D0=BF=D0=BE=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D0=BB=20=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20hex2bin.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02-cpu-commnads/hex2bin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/02-cpu-commnads/hex2bin.py b/02-cpu-commnads/hex2bin.py index 6ac4acf..d8e9a1d 100755 --- a/02-cpu-commnads/hex2bin.py +++ b/02-cpu-commnads/hex2bin.py @@ -4,8 +4,8 @@ import argparse def hex2bin(hexNum: str) -> None: return bin(int(hexNum, 16)) -parser = argparse.ArgumentParser(description="convert hex number to bin right in terminal") -parser.add_argument('-s', '--stdin', action='store_true', help="if passed takes input from terminal arguments") +parser = argparse.ArgumentParser(description="Convert hex number to bin right in terminal") +parser.add_argument('-s', '--stdin', action='store_true', help="if passed takes input from stdin") parser.add_argument('number', nargs='?') args = parser.parse_args()