Skip to content

Commit

Permalink
Version parameter, darwin --> Mac label
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jan 12, 2019
1 parent 04c6cfc commit 1f34a64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ archive:
- goos: windows
format: zip
replacements:
darwin: Darwin
darwin: Mac
linux: Linux
windows: Windows
386: i386
Expand Down
7 changes: 4 additions & 3 deletions internal/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ var nodeName string
var force bool

var rootCmd = &cobra.Command{
Use: "odm [flags] <images> [<gcp>] [args]",
Short: "A command line tool to process aerial imagery in the cloud",

Use: "odm [flags] <images> [<gcp>] [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 {
Expand Down Expand Up @@ -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)
}

Expand Down

0 comments on commit 1f34a64

Please sign in to comment.