From fcea58148e845166f9bd78bf7665bf5c69b18f03 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Fri, 24 Jan 2025 21:15:19 -0800 Subject: [PATCH] Use --id instead of --item for `item add` --- cmd/itemAdd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/itemAdd.go b/cmd/itemAdd.go index b6b2470..10f6e25 100644 --- a/cmd/itemAdd.go +++ b/cmd/itemAdd.go @@ -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")