Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Nounous
Crans Passwords
Commits
dae7b30c
Commit
dae7b30c
authored
May 29, 2013
by
Daniel STAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ajout d'une option courte -s pour --server
Parce que ça fait mal à taper quand on fait des tests
parent
9597a2aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cranspasswords.py
cranspasswords.py
+1
-1
No files found.
cranspasswords.py
View file @
dae7b30c
...
...
@@ -496,7 +496,7 @@ def parse_roles(strroles):
if
__name__
==
"__main__"
:
parser
=
argparse
.
ArgumentParser
(
description
=
"trousseau crans"
)
parser
.
add_argument
(
'--server'
,
default
=
'default'
,
parser
.
add_argument
(
'-s'
,
'--server'
,
default
=
'default'
,
help
=
"Utilisation d'un serveur alternatif (test, backup, etc)"
)
parser
.
add_argument
(
'-v'
,
'--verbose'
,
action
=
'store_true'
,
default
=
False
,
help
=
"Mode verbeux"
)
...
...
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