Skip to content

Commit 7132e3f

Browse files
committed
Created a new argument
1 parent cad8c0c commit 7132e3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
metavar="title (optional)",
2525
nargs="?")
2626

27+
parser.add_argument("-file",
28+
"--file",
29+
help="Save answer to a file",
30+
action="store_true")
31+
2732
ARGV = parser.parse_args()
2833

2934
search_flag = Search(ARGV)

0 commit comments

Comments
 (0)