Show version info
This commit is contained in:
parent
1b1a48cf99
commit
e0fd234da0
1 changed files with 4 additions and 3 deletions
|
|
@ -22,9 +22,10 @@ var (
|
|||
|
||||
// rootCmd represents the base command when called without any subcommands
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "evcc",
|
||||
Short: "EV Charge Controller",
|
||||
Run: run,
|
||||
Use: "evcc",
|
||||
Short: "EV Charge Controller",
|
||||
Version: fmt.Sprintf("%s (%s)", server.Version, server.Commit),
|
||||
Run: run,
|
||||
}
|
||||
|
||||
func bind(cmd *cobra.Command, flag string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue