diff --git a/.github/workflows/mac-artifact.yml b/.github/workflows/mac-artifact.yml index b51111d..8a7241e 100644 --- a/.github/workflows/mac-artifact.yml +++ b/.github/workflows/mac-artifact.yml @@ -81,7 +81,7 @@ jobs: working-directory: ${{ steps.working-dir.outputs.value }} run: | sudo make install - asconfig --version 2>&1 | grep "asconfig version" + asconfig --version 2>&1 | grep "asconfig" - uses: actions/upload-artifact@v3 with: name: ${{ steps.system-info.outputs.platform }}-${{ runner.arch }}-${{ runner.os }}-${{ steps.system-info.outputs.release }}-asconfig diff --git a/cmd/root.go b/cmd/root.go index b039b83..69b30f7 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -66,6 +66,7 @@ func newRootCmd() *cobra.Command { } res.Version = VERSION + res.SetVersionTemplate("asconfig\n{{printf \"Version %s\" .Version}}\n") logLevelUsage := fmt.Sprintf("Set the logging detail level. Valid levels are: %v", log.GetLogLevels()) res.PersistentFlags().StringP("log-level", "l", "info", logLevelUsage)