-
Notifications
You must be signed in to change notification settings - Fork 53
update bundle remove flag/help #697
base: master
Are you sure you want to change the base?
Changes from all commits
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") | ||
|
Contributor
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
Member
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
Member
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