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
5f11ed79
Unverified
Commit
5f11ed79
authored
Mar 04, 2019
by
Steven Allen
Committed by
GitHub
Mar 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6013 from AuHau/doc/logging
Improve CLI help pages
parents
a301a711
5e5c040c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
core/commands/log.go
core/commands/log.go
+5
-0
core/commands/root.go
core/commands/root.go
+2
-1
No files found.
core/commands/log.go
View file @
5f11ed79
...
...
@@ -22,6 +22,11 @@ var LogCmd = &cmds.Command{
ShortDescription
:
`
'ipfs log' contains utility commands to affect or read the logging
output of a running daemon.
There are also two environmental variables that direct the logging
system (not just for the daemon logs, but all commands):
IPFS_LOGGING - sets the level of verbosity of the logging. One of: debug, info, warning, error, critical
IPFS_LOGGING_FMT - sets formatting of the log output. One of: color, nocolor
`
,
},
...
...
core/commands/root.go
View file @
5f11ed79
...
...
@@ -29,7 +29,7 @@ const (
var
Root
=
&
cmds
.
Command
{
Helptext
:
cmdkit
.
HelpText
{
Tagline
:
"Global p2p merkle-dag filesystem."
,
Synopsis
:
"ipfs [--config=<config> | -c] [--debug
=<debug>
| -D] [--help
=<help>] [-h=<h>] [--local=<local
> | -
L
] [--
api=<api
>] <command> ..."
,
Synopsis
:
"ipfs [--config=<config> | -c] [--debug | -D] [--help
] [-h] [--api=<api>] [--offline] [--cid-base=<base>] [--upgrade-cidv0-in-output] [--encoding=<encoding
> | -
-enc
] [--
timeout=<timeout
>] <command> ..."
,
Subcommands
:
`
BASIC COMMANDS
init Initialize ipfs local configuration
...
...
@@ -72,6 +72,7 @@ TOOL COMMANDS
update Download and apply go-ipfs updates
commands List all available commands
cid Convert and discover properties of CIDs
log Manage and show logs of running daemon
Use 'ipfs <command> --help' to learn more about each command.
...
...
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