Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Tiny usage tip fix for action & mailer gen commands #874

Merged
merged 2 commits into from
Jan 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buffalo/cmd/generate/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var actionOptions = struct {

//ActionCmd is the cmd that generates actions.
var ActionCmd = &cobra.Command{
Use: "action [name] [actionName...]",
Use: "action [name] [handler name...]",
Aliases: []string{"a", "actions"},
Short: "Generates new action(s)",
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
2 changes: 1 addition & 1 deletion buffalo/cmd/generate/mailer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var mailer = mail.Generator{}

// MailCmd for generating mailers
var MailCmd = &cobra.Command{
Use: "mailer",
Use: "mailer [name]",
Short: "Generates a new mailer for Buffalo",
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) == 0 {
Expand Down