diff --git a/cmd/root.go b/cmd/root.go index 7fe652f..550e388 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -87,14 +87,10 @@ func rssfetch(cmd *cobra.Command, urls []string) { // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ - Use: "rssfetch", - Short: "A brief description of your application", - Long: `A longer description that spans multiple lines and likely contains -examples and usage of using your application. For example: - -Cobra is a CLI library for Go that empowers applications. -This application is a tool to generate the needed files -to quickly create a Cobra application.`, + Use: "rssfetch [url ...]", + Short: "rssfetch outputs items contained in rss feeds", + Long: `rssfetch outputs items contained in rss feeds. +You can specify the output format with the -o flag. For instance, -o "{{.Title}}" will only output the title of each item.`, Run: rssfetch, Args: cobra.MinimumNArgs(1), }