API: Improve cli usage descriptions (#4401)

This commit is contained in:
Bill Zhong authored and GitHub committed 2025-02-18 08:36:39 +00:00
1 parent 958b13ebb5
commit a1714cc4ce
17 files changed
+194 -114

No files matched your search

+9 -4
View File
@@ -14,13 +14,18 @@ var cmdRemoveOutbounds = &base.Command{
Short: "Remove outbounds",
Long: `
Remove outbounds from Xray.
Arguments:
-s, -server
-s, -server <server:port>
The API server address. Default 127.0.0.1:8080
-t, -timeout
Timeout seconds to call API. Default 3
-t, -timeout <seconds>
Timeout in seconds for calling API. Default 3
Example:
{{.Exec}} {{.LongName}} --server=127.0.0.1:8080 c1.json "tag name"
{{.Exec}} {{.LongName}} --server=127.0.0.1:8080 c1.json "tag name"
`,
Run: executeRemoveOutbounds,
}