Skip to content

Commit 463d3e7

Browse files
committed
Fix typos
1 parent 5e49436 commit 463d3e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: source-code/command-line-arguments/ArgParse/options_in_file.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
import argparse
44

55

6-
def amin():
6+
def main():
77
arg_parser = argparse.ArgumentParser(fromfile_prefix_chars='@')
88
arg_parser.add_argument('--foo', help='foo option')
9-
arg_parser.add_argument('--bar', help='bar optoin')
9+
arg_parser.add_argument('--bar', help='bar option')
1010
arg_parser.add_argument('--flag', action='store_true',
1111
help='flag option')
1212
options = arg_parser.parse_args()
1313
print(options)
1414

1515
if __name__ == '__main__':
16-
amin()
16+
main()

0 commit comments

Comments
 (0)