Skip to content

Commit 3925940

Browse files
authored
Merge pull request #105 from KoiCrystal/master
update
2 parents b221d15 + 2ec5e29 commit 3925940

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

zoomeye/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ def main():
151151
P_search.set_defaults(func=core.search)
152152

153153
# initial account configuration related commands
154-
P_init = subparsers.add_parser("init", help="Initialize the token for ZoomEye-python")
154+
155+
P_init = subparsers.add_parser("init", help="Initialize the token for ZoomEye-python.")
155156
P_init.add_argument("-apikey", help="ZoomEye API Key", default=None, metavar='[api key]')
156157
P_init.set_defaults(func=core.init)
157158

zoomeye/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def init(args):#根据用户输入的参数来选择初始化方法,可以通
5656
init_key(api_key)
5757
return
5858
# invalid parameter
59-
show.printf("input parameter error", color="red")
59+
show.printf("input parameter error!", color="red")
6060
show.printf("please run <zoomeye init -h> for help.", color="red")
6161

6262

0 commit comments

Comments
 (0)