From 52e970f1ed9f31ea80f31fc16aadf824d20e4eba Mon Sep 17 00:00:00 2001 From: Scott Piper <0xdabbad00@gmail.com> Date: Sat, 2 Jan 2016 12:48:34 -0800 Subject: [PATCH] Version string added --- osxlockdown.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osxlockdown.go b/osxlockdown.go index 5091652..4fcf10d 100644 --- a/osxlockdown.go +++ b/osxlockdown.go @@ -12,6 +12,9 @@ import ( "time" ) +// Version of osxlockdown +var Version = "0.9" + // ReadFile takes a relative path and returns the bytes in that file func ReadFile(filename string) (data []byte, err error) { path, err := filepath.Abs(filename) @@ -170,6 +173,7 @@ func main() { // Print summary if !*hideSummary { fmt.Printf("-------------------------------------------------------------------------------\n") + fmt.Printf("osxlockdown %s\n", Version) t := time.Now() fmt.Printf("Date: %s\n", t.Format("2006-01-02T15:04:05-07:00")) sysinfo := GetSystemInfo()