mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
config: added new flag example to print usage examples
This commit is contained in:
1 parent
5cfb20562a
commit
813c5fef94
6 files changed
+146
-92
No files matched your search
+3
-1
@@ -3,6 +3,7 @@ package proxy
|
||||
import (
|
||||
"errors"
|
||||
"net"
|
||||
"sort"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -73,5 +74,6 @@ func DialerSchemes() string {
|
||||
for name := range dialerCreators {
|
||||
s = append(s, name)
|
||||
}
|
||||
return strings.Join(s, ",")
|
||||
sort.Strings(s)
|
||||
return strings.Join(s, " ")
|
||||
}
|
||||
Reference in new issue
Block a user