mirror of
https://github.com/aditya-K2/gspt.git
synced 2026-01-09 13:58:05 -05:00
Fix version flag
This commit is contained in:
@@ -48,6 +48,7 @@ func ReadConfig() {
|
|||||||
|
|
||||||
if Flags.Version {
|
if Flags.Version {
|
||||||
fmt.Printf("gspt %s \nBuild Date: %s\n", Version, BuildDate)
|
fmt.Printf("gspt %s \nBuild Date: %s\n", Version, BuildDate)
|
||||||
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
// If config path is provided through command-line use that
|
// If config path is provided through command-line use that
|
||||||
|
|||||||
Reference in New Issue
Block a user