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
Lu Xu
slapos.core
Commits
50f2cfaf
Commit
50f2cfaf
authored
May 03, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grammar nazi
parent
87362b0d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
slapos/cli/slapgrid.py
slapos/cli/slapgrid.py
+2
-2
slapos/cli_legacy/slapgrid.py
slapos/cli_legacy/slapgrid.py
+3
-3
No files found.
slapos/cli/slapgrid.py
View file @
50f2cfaf
...
@@ -94,7 +94,7 @@ class SoftwareCommand(SlapgridCommand):
...
@@ -94,7 +94,7 @@ class SoftwareCommand(SlapgridCommand):
ap
=
super
(
SoftwareCommand
,
self
).
get_parser
(
prog_name
)
ap
=
super
(
SoftwareCommand
,
self
).
get_parser
(
prog_name
)
ap
.
add_argument
(
'--only-sr'
,
'--only'
,
ap
.
add_argument
(
'--only-sr'
,
'--only'
,
help
=
'Force the update of a single software release (can be full URL or MD5 hash), '
help
=
'Force the update of a single software release (can be full URL or MD5 hash), '
'even if is already installed. This option will make all other
s
'
'even if is already installed. This option will make all other '
'sofware releases be ignored.'
)
'sofware releases be ignored.'
)
return
ap
return
ap
...
@@ -112,7 +112,7 @@ class InstanceCommand(SlapgridCommand):
...
@@ -112,7 +112,7 @@ class InstanceCommand(SlapgridCommand):
ap
.
add_argument
(
'--only-cp'
,
'--only'
,
ap
.
add_argument
(
'--only-cp'
,
'--only'
,
help
=
'Update a single or a list of computer partitions '
help
=
'Update a single or a list of computer partitions '
'(ie.:slappartX, slappartY), '
'(ie.:slappartX, slappartY), '
'this option will make all other
s
computer partitions be ignored.'
)
'this option will make all other computer partitions be ignored.'
)
return
ap
return
ap
...
...
slapos/cli_legacy/slapgrid.py
View file @
50f2cfaf
...
@@ -52,16 +52,16 @@ def parse_arguments(*argument_tuple):
...
@@ -52,16 +52,16 @@ def parse_arguments(*argument_tuple):
ap
.
add_argument
(
'--now'
,
action
=
'store_true'
,
ap
.
add_argument
(
'--now'
,
action
=
'store_true'
,
help
=
'Launch slapgrid without delay. Default behavior.'
)
help
=
'Launch slapgrid without delay. Default behavior.'
)
ap
.
add_argument
(
'--all'
,
action
=
'store_true'
,
ap
.
add_argument
(
'--all'
,
action
=
'store_true'
,
help
=
'Launch slapgrid to process all Softare Releases '
help
=
'Launch slapgrid to process all Soft
w
are Releases '
'and/or Computer Partitions.'
)
'and/or Computer Partitions.'
)
ap
.
add_argument
(
'--only-sr'
,
ap
.
add_argument
(
'--only-sr'
,
help
=
'Force the update of a single software release (use url hash), '
help
=
'Force the update of a single software release (use url hash), '
'even if is already installed. This option will make all other
s
'
'even if is already installed. This option will make all other '
'sofware releases be ignored.'
)
'sofware releases be ignored.'
)
ap
.
add_argument
(
'--only-cp'
,
ap
.
add_argument
(
'--only-cp'
,
help
=
'Update a single or a list of computer partitions '
help
=
'Update a single or a list of computer partitions '
'(ie.:slappartX, slappartY), '
'(ie.:slappartX, slappartY), '
'this option will make all other
s
computer partitions be ignored.'
)
'this option will make all other computer partitions be ignored.'
)
ap
.
add_argument
(
'configuration_file'
,
type
=
argparse
.
FileType
(),
ap
.
add_argument
(
'configuration_file'
,
type
=
argparse
.
FileType
(),
help
=
'SlapOS configuration file.'
)
help
=
'SlapOS configuration file.'
)
...
...
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