Skip to content

Commit 4a476bb

Browse files
authored
Merge pull request cli#4847 from rsteube/fix-shorthand
gist view: fix missing files shorthand
2 parents 0052199 + 24c41b5 commit 4a476bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/cmd/gist/view/view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman
6868

6969
cmd.Flags().BoolVarP(&opts.Raw, "raw", "r", false, "Print raw instead of rendered gist contents")
7070
cmd.Flags().BoolVarP(&opts.Web, "web", "w", false, "Open gist in the browser")
71-
cmd.Flags().BoolVarP(&opts.ListFiles, "files", "", false, "List file names from the gist")
71+
cmd.Flags().BoolVar(&opts.ListFiles, "files", false, "List file names from the gist")
7272
cmd.Flags().StringVarP(&opts.Filename, "filename", "f", "", "Display a single file from the gist")
7373

7474
return cmd

0 commit comments

Comments
 (0)