Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
The Universal Packaging Tool
upt
Commits
16157d97
Commit
16157d97
authored
Mar 15, 2018
by
Cyril Roelandt
Browse files
Show help when no arguments are provided.
parent
5e5d102c
Changes
1
Hide whitespace changes
Inline
Side-by-side
upt/upt.py
View file @
16157d97
...
...
@@ -126,6 +126,10 @@ def _get_installed_backends():
def
main
():
parser
=
create_parser
()
if
len
(
sys
.
argv
)
==
1
:
parser
.
print_help
(
sys
.
stderr
)
sys
.
exit
(
1
)
args
=
parser
.
parse_args
()
if
args
.
cmd
==
'list-backends'
:
...
...
Write
Preview
Supports
Markdown
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