Improve cmd

This commit is contained in:
世界
2022-08-09 14:49:17 +08:00
parent ecaddd897e
commit e05ee55545
4 changed files with 11 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ var commandVersion = &cobra.Command{
Use: "version",
Short: "Print current version of sing-box",
Run: printVersion,
Args: cobra.NoArgs,
}
func printVersion(cmd *cobra.Command, args []string) {