Skip to content

Commit

Permalink
paste: Remove forced argument
Browse files Browse the repository at this point in the history
Otherwise paste from clipboard does not work.
  • Loading branch information
xenrox committed May 27, 2021
1 parent e7b87fc commit 165298d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/paste.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ var createCmd = &cobra.Command{
Short: "Create a new paste resource",
Long: `Create a new paste resource.
Takes files as arguments.`,
Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
err := api.PasteCreate(args)
errorhelper.ExitError(err)
Expand Down

0 comments on commit 165298d

Please sign in to comment.