-
Notifications
You must be signed in to change notification settings - Fork 54
update bundle remove flag/help #697
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ import ( | |
const bundleRemoveDesc = `Remove a bundle from the local storage. | ||
|
||
This removes a bundle from the local storage so that it will no longer be locally | ||
available. Bundles can be rebuilt with 'duffle build'. | ||
available. Bundles can be rebuilt and store in local storage with 'duffle build'. | ||
|
||
Ex. $ duffle bundle remove foo # removes all versions of foo from local store | ||
|
||
|
@@ -46,7 +46,7 @@ func newBundleRemoveCmd(w io.Writer) *cobra.Command { | |
return remove.run() | ||
}, | ||
} | ||
cmd.Flags().StringVar(&remove.versions, "version", "", "A version or SemVer2 version range") | ||
cmd.Flags().StringVarP(&remove.versions, "version", "r", "", "A version or SemVer2 version range") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So the command should be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suppose because There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess the alternative would be not to have a shorthand flag at all? |
||
|
||
return cmd | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
and stored in local storage