mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-24 21:49:49 +00:00
feat(cmd): compatible windows double click
compatible windows double click Signed-off-by: mritd <mritd@linux.com>
This commit is contained in:
parent
e1c36405c2
commit
870e13ed4c
@ -142,6 +142,9 @@ func init() {
|
||||
// compatible with old flag format
|
||||
fakeFlags()
|
||||
|
||||
// compatible windows double click
|
||||
cobra.MousetrapHelpText = ""
|
||||
|
||||
// add global flags
|
||||
rootCmd.PersistentFlags().StringP("config", "c", "./config.json", "config file")
|
||||
rootCmd.PersistentFlags().String("mmdb-url", "https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-Country.mmdb", "mmdb download url")
|
||||
|
Loading…
x
Reference in New Issue
Block a user