Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
45cc33b1
Commit
45cc33b1
authored
10 years ago
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #354 from chriscool/improve_help_messages
Improve help messages
parents
e621aebc
288ee753
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
commands/cli/helptext.go
commands/cli/helptext.go
+0
-2
core/commands2/mount_unix.go
core/commands2/mount_unix.go
+3
-1
No files found.
commands/cli/helptext.go
View file @
45cc33b1
...
...
@@ -100,8 +100,6 @@ const shortHelpFormat = `USAGE:
{{.Indent}}{{template "usage" .}}
{{if .Synopsis}}
SYNOPSIS
{{.Synopsis}}
{{end}}{{if .Description}}
{{.Description}}
...
...
This diff is collapsed.
Click to expand it.
core/commands2/mount_unix.go
View file @
45cc33b1
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment