Use --id instead of --item for item add
This commit is contained in:
parent
f153263bc4
commit
fcea58148e
@ -35,7 +35,7 @@ func init() {
|
||||
itemCmd.AddCommand(itemAddCmd)
|
||||
|
||||
itemAddCmd.Flags().StringVarP(&addSource, "source", "s", "", "Source in which to create the item (default: default)")
|
||||
itemAddCmd.Flags().StringVarP(&addId, "item", "i", "", "Item id (default: random hex)")
|
||||
itemAddCmd.Flags().StringVarP(&addId, "id", "i", "", "Item id (default: random hex)")
|
||||
itemAddCmd.Flags().StringVarP(&addTitle, "title", "t", "", "Item title")
|
||||
itemAddCmd.Flags().StringVarP(&addAuthor, "author", "a", "", "Item author")
|
||||
itemAddCmd.Flags().StringVarP(&addBody, "body", "b", "", "Item body")
|
||||
|
Loading…
Reference in New Issue
Block a user