diff --git a/src/main.go b/src/main.go index 38c9219..c30fc45 100644 --- a/src/main.go +++ b/src/main.go @@ -228,9 +228,10 @@ func main() { var hostFilter []string var rootCmd = &cobra.Command{ - Use: "ipng-router-backup", - Short: "SSH Router Backup Tool", - Long: "Connects to routers via SSH and runs commands, saving output to local files.", + Use: "ipng-router-backup", + Short: "SSH Router Backup Tool", + Long: "Connects to routers via SSH and runs commands, saving output to local files.", + Version: Version, Run: func(cmd *cobra.Command, args []string) { fmt.Printf("IPng Networks Router Backup v%s\n", Version)