diff --git a/cmd/check.go b/cmd/check.go index 77c92ca..02eb095 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -20,7 +20,7 @@ var checkCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { _, err := models.Health_Check(g.Config().Ldap) if err != nil { - fmt.Fprintf(os.Stderr, "Failed: %v", err) + fmt.Fprintf(os.Stderr, "Failed: %v\n", err) return } fmt.Println("Successed") diff --git a/g/const.go b/g/const.go index e409977..06f981f 100644 --- a/g/const.go +++ b/g/const.go @@ -1,7 +1,7 @@ package g const ( - VERSION = "0.2" + VERSION = "0.2.1" USERS_CSV = "users.csv" FAILED_CSV = "failed.csv" )