diff --git a/app.go b/app.go index aacc7a5..2f2d79f 100644 --- a/app.go +++ b/app.go @@ -19,7 +19,7 @@ func app(cmd *cobra.Command, args []string) { if linuxCisVersion != "" { version = linuxCisVersion } else { - version = "1.1.0" + version = "2.0.0" } path, err := getDefinitionFilePath(version) diff --git a/root.go b/root.go index 862db75..b71f28e 100644 --- a/root.go +++ b/root.go @@ -71,7 +71,7 @@ func init() { RootCmd.PersistentFlags().BoolVar(&noResults, "noresults", false, "Disable printing of results section") RootCmd.PersistentFlags().BoolVar(&noSummary, "nosummary", false, "Disable printing of summary section") RootCmd.PersistentFlags().BoolVar(&noRemediations, "noremediations", false, "Disable printing of remediations section") - RootCmd.Flags().StringVarP(&linuxCisVersion, "version", "", "1.1.0", "Specify linux cis version, automatically detected if unset") + RootCmd.Flags().StringVarP(&linuxCisVersion, "version", "", "2.0.0", "Specify linux cis version, automatically detected if unset") RootCmd.Flags().StringVarP(&cfgDir, "config-dir", "D", "cfg", "directory to get benchmark definitions") RootCmd.PersistentFlags().BoolVar(&jsonFmt, "json", false, "Prints the results as JSON") RootCmd.PersistentFlags().BoolVar(&includeTestOutput, "include-test-output", false, "Prints the test's output")