Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2301_76519099
rt-thread
提交
2cc9bd79
R
rt-thread
项目概览
2301_76519099
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
3
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2cc9bd79
编写于
12月 06, 2022
作者:
Nameless-Y
提交者:
mysterywolf
12月 06, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[components/finsh]使 list 命令的解释对齐
上级
e3a09b27
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
11 addition
and
11 deletion
+11
-11
components/finsh/cmd.c
components/finsh/cmd.c
+11
-11
未找到文件。
components/finsh/cmd.c
浏览文件 @
2cc9bd79
...
...
@@ -957,34 +957,34 @@ int cmd_list(int argc, char **argv)
_usage:
rt_kprintf
(
"Usage: list [options]
\n
"
);
rt_kprintf
(
"[options]:
\n
"
);
rt_kprintf
(
"
thread - list threads
\n
"
);
rt_kprintf
(
"
timer - list timers
\n
"
);
rt_kprintf
(
"
%-12s - list threads
\n
"
,
"thread
"
);
rt_kprintf
(
"
%-12s - list timers
\n
"
,
"timer
"
);
#ifdef RT_USING_SEMAPHORE
rt_kprintf
(
"
sem - list semaphores
\n
"
);
rt_kprintf
(
"
%-12s - list semaphores
\n
"
,
"sem
"
);
#endif
/* RT_USING_SEMAPHORE */
#ifdef RT_USING_MUTEX
rt_kprintf
(
"
mutex - list mutexs
\n
"
);
rt_kprintf
(
"
%-12s - list mutexs
\n
"
,
"mutex
"
);
#endif
/* RT_USING_MUTEX */
#ifdef RT_USING_EVENT
rt_kprintf
(
"
event - list events
\n
"
);
rt_kprintf
(
"
%-12s - list events
\n
"
,
"event
"
);
#endif
/* RT_USING_EVENT */
#ifdef RT_USING_MAILBOX
rt_kprintf
(
"
mailbox - list mailboxs
\n
"
);
rt_kprintf
(
"
%-12s - list mailboxs
\n
"
,
"mailbox
"
);
#endif
/* RT_USING_MAILBOX */
#ifdef RT_USING_MESSAGEQUEUE
rt_kprintf
(
"
msgqueue - list message queues
\n
"
);
rt_kprintf
(
"
%-12s - list message queues
\n
"
,
"msgqueue
"
);
#endif
/* RT_USING_MESSAGEQUEUE */
#ifdef RT_USING_MEMHEAP
rt_kprintf
(
"
memheap - list memory heaps
\n
"
);
rt_kprintf
(
"
%-12s - list memory heaps
\n
"
,
"memheap
"
);
#endif
/* RT_USING_MEMHEAP */
#ifdef RT_USING_MEMPOOL
rt_kprintf
(
"
mempool - list memory pools
\n
"
);
rt_kprintf
(
"
%-12s - list memory pools
\n
"
,
"mempool
"
);
#endif
/* RT_USING_MEMPOOL */
#ifdef RT_USING_DEVICE
rt_kprintf
(
"
device - list devices
\n
"
);
rt_kprintf
(
"
%-12s - list devices
\n
"
,
"device
"
);
#endif
/* RT_USING_DEVICE */
#ifdef RT_USING_DFS
rt_kprintf
(
"
fd - list file descriptors
\n
"
);
rt_kprintf
(
"
%-12s - list file descriptors
\n
"
,
"fd
"
);
#endif
/* RT_USING_DFS */
return
0
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录