Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
slapos.core
Commits
af66f9a6
Commit
af66f9a6
authored
May 02, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
on help: print configuration file defaults
parent
25b522e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
slapos/cli/config.py
slapos/cli/config.py
+3
-1
No files found.
slapos/cli/config.py
View file @
af66f9a6
...
@@ -22,7 +22,9 @@ class ConfigCommand(Command):
...
@@ -22,7 +22,9 @@ class ConfigCommand(Command):
def
get_parser
(
self
,
prog_name
):
def
get_parser
(
self
,
prog_name
):
ap
=
super
(
ConfigCommand
,
self
).
get_parser
(
prog_name
)
ap
=
super
(
ConfigCommand
,
self
).
get_parser
(
prog_name
)
ap
.
add_argument
(
'--cfg'
,
help
=
'SlapOS configuration file'
)
ap
.
add_argument
(
'--cfg'
,
help
=
'SlapOS configuration file - '
+
'defaults to $%s '
%
self
.
default_config_var
+
'or %s'
%
self
.
default_config_path
)
return
ap
return
ap
def
_get_config
(
self
,
cfg_path
,
required
=
False
):
def
_get_config
(
self
,
cfg_path
,
required
=
False
):
...
...
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