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
b01c3f50
Commit
b01c3f50
authored
May 12, 2016
by
Richard Littauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also added to Root
License: MIT Signed-off-by:
Richard Littauer
<
richard.littauer@gmail.com
>
parent
f52050de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
core/commands/root.go
core/commands/root.go
+4
-4
No files found.
core/commands/root.go
View file @
b01c3f50
...
...
@@ -70,10 +70,10 @@ at ~/.ipfs. To change the repo location, set the $IPFS_PATH environment variable
},
Options
:
[]
cmds
.
Option
{
cmds
.
StringOption
(
"config"
,
"c"
,
"Path to the configuration file to use."
),
cmds
.
BoolOption
(
"debug"
,
"D"
,
"Operate in debug mode."
),
cmds
.
BoolOption
(
"help"
,
"Show the full command help text."
),
cmds
.
BoolOption
(
"h"
,
"Show a short version of the command help text."
),
cmds
.
BoolOption
(
"local"
,
"L"
,
"Run the command locally, instead of using the daemon."
),
cmds
.
BoolOption
(
"debug"
,
"D"
,
"Operate in debug mode."
)
.
Default
(
false
)
,
cmds
.
BoolOption
(
"help"
,
"Show the full command help text."
)
.
Default
(
false
)
,
cmds
.
BoolOption
(
"h"
,
"Show a short version of the command help text."
)
.
Default
(
false
)
,
cmds
.
BoolOption
(
"local"
,
"L"
,
"Run the command locally, instead of using the daemon."
)
.
Default
(
false
)
,
cmds
.
StringOption
(
ApiOption
,
"Use a specific API instance (defaults to /ip4/127.0.0.1/tcp/5001)"
),
},
}
...
...
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