Open redstone2019 opened 4 years ago
Add it to https://github.com/ianmarmour/nvidia-clerk/blob/master/cmd/nvidia-clerk/nvidia-clerk.go in the flags under main. Something like this should do it (haven't tested it but the gist is here):
// Parse Argument Flags
// . . .
desktop := flag.Bool("desktop", false, "Enable desktop notifications, disabled by default.")
version := flag.Bool("version", false, "Display program version")
flag.Parse()
// . . .
if configErr != nil {
log.Fatal(configErr)
}
if config.version != nil{
log.Println("NVIDIA Clerk by Ianmarmour " + {version} + " " + {date});
exit
}
Something like
nvidia-clerk-windows.exe -version
then it saysNVIDIA Clerk by Ianmarmour v3.7.6 (09/26/2020)