mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
Update On Tue Jan 7 19:34:45 CET 2025
This commit is contained in:
+16
-2
@@ -181,6 +181,13 @@ func RegisterClientCommands() {
|
||||
},
|
||||
versionFunc,
|
||||
)
|
||||
RegisterCallback(
|
||||
[]string{"", "describe", "build-info"},
|
||||
func(s []string) error {
|
||||
return unexpectedArgsError(s, 3)
|
||||
},
|
||||
buildInfoFunc,
|
||||
)
|
||||
RegisterCallback(
|
||||
[]string{"", "check", "update"},
|
||||
func(s []string) error {
|
||||
@@ -274,8 +281,11 @@ var clientHelpFunc = func(s []string) error {
|
||||
help: []string{"Test mieru client connection to the Internet via proxy server."},
|
||||
},
|
||||
{
|
||||
cmd: "apply config <JSON_FILE>",
|
||||
help: []string{"Apply client configuration from a file."},
|
||||
cmd: "apply config <JSON_FILE>",
|
||||
help: []string{
|
||||
"Apply client configuration patch from a file.",
|
||||
"It merges the patch with existing client configuration.",
|
||||
},
|
||||
},
|
||||
{
|
||||
cmd: "describe config",
|
||||
@@ -340,6 +350,10 @@ var clientHelpFunc = func(s []string) error {
|
||||
"Use environment variable MIERU_CONFIG_JSON_FILE to load configuration.",
|
||||
},
|
||||
},
|
||||
{
|
||||
cmd: "describe build-info",
|
||||
help: []string{"Show mieru build info."},
|
||||
},
|
||||
{
|
||||
cmd: "get thread-dump",
|
||||
help: []string{"Get mieru client thread dump."},
|
||||
|
||||
Reference in New Issue
Block a user