Skip to content

Commit b78f4e8

Browse files
committed
change some indentation
1 parent 29787f8 commit b78f4e8

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

main.py

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,18 @@
1717
help="search a question on StackOverflow",
1818
action="store_true")
1919

20-
parser.add_argument("-V",
20+
parser.add_argument("-v",
2121
"--version",
2222
version=f"Dynamic-CLI version {version}",
2323
action='version')
2424

2525

26-
parser.add_argument(
27-
"-n",
28-
"--new",
29-
help="Opens browser to create new StackOverflow question.",
30-
const=True,
31-
metavar="title (optional)",
32-
nargs="?")
26+
parser.add_argument("-n",
27+
"--new",
28+
help="Opens browser to create new StackOverflow question.",
29+
const=True,
30+
metavar="title (optional)",
31+
nargs="?")
3332

3433
parser.add_argument("-file",
3534
"--file",
@@ -77,15 +76,14 @@
7776

7877
if __name__ == "__main__":
7978
if ARGV.start:
80-
print('''
81-
\U0001F604 Hello and Welcome to Dynamic CLI
82-
\U0001F917 Use the following commands to get started
83-
\U0001F50E Search on StackOverflow with '-s'
84-
\U0001F4C4 Open browser to create new Stack Overflow question with '-n [title(optional)]'
85-
\U0001F4C2 Save answer to a file with '-file'
86-
\U00002728 Know the version of Dynamic CLI with '-V'
87-
\U0001F609 See this message again with '-st'
88-
\U00002755 Get help with '-h'
89-
''')
79+
print('''\U0001F604 Hello and Welcome to Dynamic CLI
80+
\U0001F917 Use the following commands to get started
81+
\U0001F50E Search on StackOverflow with '-s'
82+
\U0001F4C4 Open browser to create new Stack Overflow question with '-n [title(optional)]'
83+
\U0001F4C2 Save answer to a file with '-file'
84+
\U00002728 Know the version of Dynamic CLI with '-V'
85+
\U0001F609 See this message again with '-st'
86+
\U00002755 Get help with '-h'
87+
''')
9088
else:
9189
search_flag.search_args()

0 commit comments

Comments
 (0)