From 8964322f4e95b73f1bfdd08fd859eeb76e419fe1 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Fri, 5 Jun 2020 00:26:48 -0700 Subject: [PATCH] Fix doodad edit-doodad args --- cmd/doodad/commands/edit_doodad.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cmd/doodad/commands/edit_doodad.go b/cmd/doodad/commands/edit_doodad.go index 6accf8b..a0be96e 100644 --- a/cmd/doodad/commands/edit_doodad.go +++ b/cmd/doodad/commands/edit_doodad.go @@ -20,8 +20,9 @@ func init() { ArgsUsage: "", Flags: []cli.Flag{ &cli.BoolFlag{ - Name: "quiet, q", - Usage: "limit output (don't show doodad data at the end)", + Name: "quiet", + Aliases: []string{"q"}, + Usage: "limit output (don't show doodad data at the end)", }, &cli.StringFlag{ Name: "title", @@ -32,8 +33,9 @@ func init() { Usage: "set the doodad author", }, &cli.StringSliceFlag{ - Name: "tag, t", - Usage: "set a key/value tag on the doodad, in key=value format. Empty value deletes the tag.", + Name: "tag", + Aliases: []string{"t"}, + Usage: "set a key/value tag on the doodad, in key=value format. Empty value deletes the tag.", }, &cli.BoolFlag{ Name: "hide",