config: added new flag example to print usage examples

This commit is contained in:
nadoo committed 2022-02-16 23:37:25 +08:00
1 parent 5cfb20562a
commit 813c5fef94
6 files changed
+146 -92

No files matched your search

+3 -1
View File
@@ -3,6 +3,7 @@ package proxy
import (
"errors"
"net"
"sort"
"strings"
)
@@ -58,5 +59,6 @@ func ServerSchemes() string {
for name := range serverCreators {
s = append(s, name)
}
return strings.Join(s, ",")
sort.Strings(s)
return strings.Join(s, " ")
}