aboutsummaryrefslogtreecommitdiffstats
path: root/commands/new.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/new.go')
-rw-r--r--commands/new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/new.go b/commands/new.go
index 63bd885c..9844e121 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -65,7 +65,7 @@ var newCmd = &cobra.Command{
}
func init() {
- rootCmd.AddCommand(newCmd)
+ RootCmd.AddCommand(newCmd)
newCmd.Flags().StringVarP(&newMessageFile, "file", "F", "",
"Take the message from the given file. Use - to read the message from the standard input",