Add msg in gist delete
This commit is contained in:
parent
56ead91702
commit
61eb7eeeab
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ func NewCmdDelete(f *cmdutil.Factory, runF func(*DeleteOptions) error) *cobra.Co
|
|||
cmd := &cobra.Command{
|
||||
Use: "delete {<id> | <url>}",
|
||||
Short: "Delete a gist",
|
||||
Args: cobra.ExactArgs(1),
|
||||
Args: cmdutil.ExactArgs(1, "cannot delete: gist argument required"),
|
||||
RunE: func(c *cobra.Command, args []string) error {
|
||||
opts.Selector = args[0]
|
||||
if runF != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue