Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cc-cli
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
cc-cli
Commits
a031a960
Commit
a031a960
authored
14 years ago
by
Seblu
Browse files
Options
Downloads
Patches
Plain Diff
server -l become server -f
parent
cccee151
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cccli/command/server.py
+5
-5
5 additions, 5 deletions
cccli/command/server.py
with
5 additions
and
5 deletions
cccli/command/server.py
+
5
−
5
View file @
a031a960
...
@@ -17,8 +17,8 @@ class Command_server(OptionCommand):
...
@@ -17,8 +17,8 @@ class Command_server(OptionCommand):
self
.
set_usage
(
"
%prog <options>
"
)
self
.
set_usage
(
"
%prog <options>
"
)
self
.
add_option
(
"
-c
"
,
action
=
"
store_true
"
,
dest
=
"
cache
"
,
self
.
add_option
(
"
-c
"
,
action
=
"
store_true
"
,
dest
=
"
cache
"
,
help
=
"
show server cache
"
)
help
=
"
show server cache
"
)
self
.
add_option
(
"
-
l
"
,
action
=
"
store_true
"
,
dest
=
"
command
s
"
,
self
.
add_option
(
"
-
f
"
,
action
=
"
store_true
"
,
dest
=
"
function
s
"
,
help
=
"
list
server
command
s
"
)
help
=
"
show
server
function
s
"
)
self
.
add_option
(
"
-v
"
,
action
=
"
store_true
"
,
dest
=
"
version
"
,
self
.
add_option
(
"
-v
"
,
action
=
"
store_true
"
,
dest
=
"
version
"
,
help
=
"
show server version
"
)
help
=
"
show server version
"
)
...
@@ -28,14 +28,14 @@ class Command_server(OptionCommand):
...
@@ -28,14 +28,14 @@ class Command_server(OptionCommand):
self
.
printer
.
out
(
self
.
usage
())
self
.
printer
.
out
(
self
.
usage
())
elif
self
.
options
.
cache
:
elif
self
.
options
.
cache
:
self
.
show_cache
()
self
.
show_cache
()
elif
self
.
options
.
command
s
:
elif
self
.
options
.
function
s
:
self
.
show_
command
s
()
self
.
show_
function
s
()
elif
self
.
options
.
version
:
elif
self
.
options
.
version
:
self
.
show_version
()
self
.
show_version
()
else
:
else
:
self
.
printer
.
out
(
self
.
usage
())
self
.
printer
.
out
(
self
.
usage
())
def
show_
command
s
(
self
):
def
show_
function
s
(
self
):
try
:
try
:
for
cmds
in
self
.
cli
.
rpc
.
call
(
"
list_commands
"
):
for
cmds
in
self
.
cli
.
rpc
.
call
(
"
list_commands
"
):
self
.
printer
.
out
(
"
%s
"
%
cmds
[
"
name
"
])
self
.
printer
.
out
(
"
%s
"
%
cmds
[
"
name
"
])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment