diff --git a/commands/cli/helptext.go b/commands/cli/helptext.go index 46315870a..9acc3c7d2 100644 --- a/commands/cli/helptext.go +++ b/commands/cli/helptext.go @@ -100,8 +100,6 @@ const shortHelpFormat = `USAGE: {{.Indent}}{{template "usage" .}} {{if .Synopsis}} -SYNOPSIS - {{.Synopsis}} {{end}}{{if .Description}} {{.Description}} diff --git a/core/commands2/mount_unix.go b/core/commands2/mount_unix.go index 51a957ad9..6495958ce 100644 --- a/core/commands2/mount_unix.go +++ b/core/commands2/mount_unix.go @@ -26,7 +26,7 @@ var mountCmd = &cmds.Command{ Helptext: cmds.HelpText{ Tagline: "Mounts IPFS to the filesystem (read-only)", Synopsis: ` -ipfs [-f ] [-n ] +ipfs mount [-f ] [-n ] `, ShortDescription: ` Mount ipfs at a read-only mountpoint on the OS (default: /ipfs and /ipns). @@ -37,6 +37,7 @@ You may have to create /ipfs and /ipfs before using 'ipfs mount': > sudo mkdir /ipfs /ipns > sudo chown ` + "`" + `whoami` + "`" + ` /ipfs /ipns +> ipfs daemon & > ipfs mount `, LongDescription: ` @@ -48,6 +49,7 @@ You may have to create /ipfs and /ipfs before using 'ipfs mount': > sudo mkdir /ipfs /ipns > sudo chown ` + "`" + `whoami` + "`" + ` /ipfs /ipns +> ipfs daemon & > ipfs mount EXAMPLE: