mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-06 00:38:08 +08:00
Merge pull request #2685 from ipfs/feature/show-synopsis-in-long
Show Synopsis in long help
This commit is contained in:
commit
9017e7f86f
@ -77,7 +77,11 @@ const usageFormat = "{{if .Usage}}{{.Usage}}{{else}}{{.Path}}{{if .ArgUsage}} {{
|
||||
const longHelpFormat = `USAGE
|
||||
{{.Indent}}{{template "usage" .}}
|
||||
|
||||
{{if .Arguments}}ARGUMENTS
|
||||
{{if .Synopsis}}SYNOPSIS
|
||||
|
||||
{{.Synopsis}}
|
||||
|
||||
{{end}}{{if .Arguments}}ARGUMENTS
|
||||
|
||||
{{.Arguments}}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user