Use --id instead of --item for item add

This commit is contained in:
Tim Van Baak 2025-01-24 21:15:19 -08:00
parent f153263bc4
commit fcea58148e

View File

@ -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")