Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
settingsd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
settingsd
Commits
ffc35d5b
Commit
ffc35d5b
authored
Sep 11, 2010
by
Devaev Maxim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exit() on help() and version()
parent
fd8ad006
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
main.py
main.py
+2
-0
No files found.
main.py
View file @
ffc35d5b
...
...
@@ -41,9 +41,11 @@ if __name__ == "__main__" :
for
(
opts_list_item
,
args_list_item
)
in
opts_list
:
if
opts_list_item
in
(
"-h"
,
"--help"
)
:
help
()
sys
.
exit
(
0
)
elif
opts_list_item
in
(
"-v"
,
"--version"
)
:
version
()
sys
.
exit
(
0
)
elif
opts_list_item
in
(
"--log-level"
)
:
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment