This commit is contained in:
2025-04-14 01:03:24 +03:00
parent ba035881ee
commit a5fdcab862
7 changed files with 66 additions and 30 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ parser = argparse.ArgumentParser(prog='ProgramName',
parser.add_argument('filename') # positional argument
parser.add_argument('-c', '--count') # option that takes a value
parser.add_argument('-v', '--verbose',
parser.add_argument('-v',
action='store_const')
args = parser.parse_args()