diff --git a/internal/commands/update_release.go b/internal/commands/update_release.go index ef7f1593..56b1329a 100644 --- a/internal/commands/update_release.go +++ b/internal/commands/update_release.go @@ -16,11 +16,11 @@ type UpdateRelease struct { Options struct { flags.Standard - Name string `short:"n" long:"name" required:"true" description:"name of release to update"` - Version string `short:"v" long:"version" required:"true" description:"desired version of release"` - ReleasesDir string `short:"rd" long:"releases-directory" default:"releases" description:"path to a directory to download releases into"` - AllowOnlyPublishableReleases bool `long:"allow-only-publishable-releases" description:"include releases that would not be shipped with the tile (development builds)"` - WithoutDownload bool `long:"without-download" description:"updates releases without downloading them"` + Name string `short:"n" long:"name" required:"true" description:"name of release to update"` + Version string `short:"v" long:"version" required:"true" description:"desired version of release"` + ReleasesDir string `short:"rd" long:"releases-directory" default:"releases" description:"path to a directory to download releases into"` + AllowOnlyPublishableReleases bool ` long:"allow-only-publishable-releases" defailt:"false" description:"include releases that would not be shipped with the tile (development builds)"` + WithoutDownload bool `short:"wd" long:"without-download" defailt:"false" description:"updates releases without downloading them"` } multiReleaseSourceProvider MultiReleaseSourceProvider filesystem billy.Filesystem diff --git a/internal/commands/update_stemcell.go b/internal/commands/update_stemcell.go index 77853c1f..1797fa1f 100644 --- a/internal/commands/update_stemcell.go +++ b/internal/commands/update_stemcell.go @@ -20,8 +20,8 @@ type UpdateStemcell struct { Version string `short:"v" long:"version" required:"true" description:"desired version of stemcell"` ReleasesDir string `short:"rd" long:"releases-directory" default:"releases" description:"path to a directory to download releases into"` - UpdateReleases bool `short:"ur" long:"update-releases" description:"finds latest matching releases for new stemcell version"` - WithoutDownload bool ` long:"without-download" description:"updates stemcell releases without downloading releases"` + UpdateReleases bool `short:"ur" long:"update-releases" default:"false" description:"finds latest matching releases for new stemcell version"` + WithoutDownload bool `short:"wd" long:"without-download" default:"false" description:"updates stemcell releases without downloading releases"` } FS billy.Filesystem MultiReleaseSourceProvider MultiReleaseSourceProvider