Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
go-ipfs
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
jihao
go-ipfs
Commits
5f11ed79
Unverified
提交
5f11ed79
authored
3月 04, 2019
作者:
Steven Allen
提交者:
GitHub
3月 04, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #6013 from AuHau/doc/logging
Improve CLI help pages
上级
a301a711
5e5c040c
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
7 行增加
和
1 行删除
+7
-1
log.go
core/commands/log.go
+5
-0
root.go
core/commands/root.go
+2
-1
没有找到文件。
core/commands/log.go
浏览文件 @
5f11ed79
...
@@ -22,6 +22,11 @@ var LogCmd = &cmds.Command{
...
@@ -22,6 +22,11 @@ var LogCmd = &cmds.Command{
ShortDescription
:
`
ShortDescription
:
`
'ipfs log' contains utility commands to affect or read the logging
'ipfs log' contains utility commands to affect or read the logging
output of a running daemon.
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
浏览文件 @
5f11ed79
...
@@ -29,7 +29,7 @@ const (
...
@@ -29,7 +29,7 @@ const (
var
Root
=
&
cmds
.
Command
{
var
Root
=
&
cmds
.
Command
{
Helptext
:
cmdkit
.
HelpText
{
Helptext
:
cmdkit
.
HelpText
{
Tagline
:
"Global p2p merkle-dag filesystem."
,
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
:
`
Subcommands
:
`
BASIC COMMANDS
BASIC COMMANDS
init Initialize ipfs local configuration
init Initialize ipfs local configuration
...
@@ -72,6 +72,7 @@ TOOL COMMANDS
...
@@ -72,6 +72,7 @@ TOOL COMMANDS
update Download and apply go-ipfs updates
update Download and apply go-ipfs updates
commands List all available commands
commands List all available commands
cid Convert and discover properties of CIDs
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.
Use 'ipfs <command> --help' to learn more about each command.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论