diff --git a/.goreleaser.yml b/.goreleaser.yml index 3d21d6c..faf4e8d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,7 +15,7 @@ archive: - goos: windows format: zip replacements: - darwin: Darwin + darwin: Mac linux: Linux windows: Windows 386: i386 diff --git a/internal/cmd/root.go b/internal/cmd/root.go index 14d2db9..522b04f 100644 --- a/internal/cmd/root.go +++ b/internal/cmd/root.go @@ -35,9 +35,9 @@ var nodeName string var force bool var rootCmd = &cobra.Command{ - Use: "odm [flags] [] [args]", - Short: "A command line tool to process aerial imagery in the cloud", - + Use: "odm [flags] [] [args]", + Short: "A command line tool to process aerial imagery in the cloud", + Version: "1.0.0", Run: func(cmd *cobra.Command, args []string) { config.Initialize() if len(args) == 0 { @@ -115,6 +115,7 @@ func init() { rootCmd.Flags().BoolVarP(&force, "force", "f", false, "replace the contents of the output directory if it already exists") rootCmd.Flags().StringVarP(&outputPath, "output", "o", "./output", "directory where to store processing results") rootCmd.Flags().StringVarP(&nodeName, "node", "n", "default", "Processing node to use") + rootCmd.Flags().SetInterspersed(false) }