Commit 45cc33b1 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

Merge pull request #354 from chriscool/improve_help_messages

Improve help messages
parents e621aebc 288ee753
......@@ -100,8 +100,6 @@ const shortHelpFormat = `USAGE:
{{.Indent}}{{template "usage" .}}
{{if .Synopsis}}
SYNOPSIS
{{.Synopsis}}
{{end}}{{if .Description}}
{{.Description}}
......
......@@ -26,7 +26,7 @@ var mountCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "Mounts IPFS to the filesystem (read-only)",
Synopsis: `
ipfs [-f <ipfs mount path>] [-n <ipns mount path>]
ipfs mount [-f <ipfs mount path>] [-n <ipns mount path>]
`,
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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment