From a8f0329ebefd42a5450b787f170aba42decc8758 Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Mon, 3 Jun 2024 19:16:36 +0200 Subject: [PATCH] fix: formatting of the crawl command help --- cmd/crawl.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/crawl.go b/cmd/crawl.go index fa087c6..36e9dc5 100644 --- a/cmd/crawl.go +++ b/cmd/crawl.go @@ -19,8 +19,10 @@ var crawlCmd = &cobra.Command{ Use: "crawl publishers.yml [directory/*.yml ...]", Short: "Crawl publiccode.yml files in publishers' repos.", Long: `Crawl publiccode.yml files in publishers' repos. - When run with no arguments, the publishers are fetched from the API, - otherwise the passed YAML files are used.`, + +When run with no arguments, the publishers are fetched from the API, +otherwise the passed YAML files are used.`, + Args: cobra.MinimumNArgs(0), Run: func(_ *cobra.Command, args []string) { if token := viper.GetString("GITHUB_TOKEN"); token == "" {