Skip to content

Commit

Permalink
Put back exact args(2)
Browse files Browse the repository at this point in the history
Changed by accident
  • Loading branch information
Fredolx committed Feb 19, 2024
1 parent 3d84984 commit 4fc4a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meme-maker/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
var rootCmd = &cobra.Command{
Use: "meme-maker",
Short: "Add captions to memes",
Args: cobra.MinimumNArgs(2),
Args: cobra.ExactArgs(2),
Example: `meme-maker myimage.png "my caption"`,
Run: func(cmd *cobra.Command, args []string) {
var xPadding, _ = cmd.Flags().GetFloat64(xPaddingConst)
Expand Down

0 comments on commit 4fc4a6e

Please sign in to comment.