Update On Tue Jan 7 19:34:45 CET 2025

This commit is contained in:
github-action[bot]
2025-01-07 19:34:45 +01:00
parent 76a5c426f5
commit 6e95e44dd2
217 changed files with 799 additions and 766 deletions
+16 -2
View File
@@ -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."},