未验证 提交 d45e69bb 编写于 作者: O openharmony_ci 提交者: Gitee

!7113 【OpenHarmony开源贡献者计划2022】assistant-guidelines.md.相关格式及表达问题

Merge pull request !7113 from HYC/0726-b
...@@ -6,7 +6,7 @@ The common event and notification module provides debugging tools to facilitate ...@@ -6,7 +6,7 @@ The common event and notification module provides debugging tools to facilitate
### publish ### publish
* Functionality * Function
Publishes a common event. Publishes a common event.
...@@ -16,14 +16,14 @@ The common event and notification module provides debugging tools to facilitate ...@@ -16,14 +16,14 @@ The common event and notification module provides debugging tools to facilitate
The table below describes the available options. The table below describes the available options.
| Option | Description | | Option | Description |
| ------------ | ------------------------------------------ | | ------------ | ------------------------------------------ |
| -e/--event | Indicates the name of the common event to publish. Mandatory. | | -e/--event | Indicates the name of the common event to publish. Mandatory. |
| -s/--sticky | Indicates that the common event to publish is sticky. Optional. By default, non-sticky events are published.| | -s/--sticky | Indicates that the common event to publish is sticky. Optional. By default, non-sticky events are published. |
| -o/--ordered | Indicates that the common event to publish is ordered. Optional. By default, non-ordered events are published. | | -o/--ordered | Indicates that the common event to publish is ordered. Optional. By default, non-ordered events are published. |
| -c/--code | Indicates the result code of the common event. Optional. | | -c/--code | Indicates the result code of the common event. Optional. |
| -d/--data | Indicates the data carried in the common event. Optional. | | -d/--data | Indicates the data carried in the common event. Optional. |
| -h/--help | Indicates the help Information | | -h/--help | Indicates the help Information |
* Example * Example
...@@ -43,7 +43,7 @@ The common event and notification module provides debugging tools to facilitate ...@@ -43,7 +43,7 @@ The common event and notification module provides debugging tools to facilitate
### dump ### dump
* Functionality * Function
Displays information about common events. Displays information about common events.
...@@ -53,11 +53,11 @@ The common event and notification module provides debugging tools to facilitate ...@@ -53,11 +53,11 @@ The common event and notification module provides debugging tools to facilitate
The table below describes the available options. The table below describes the available options.
| Option | Description | | Option | Description |
| ---------- | -------------------------------------------- | | ---------- | -------------------------------------------- |
| -a/--all | Displays information about all common events that have been sent since system startup.| | -a/--all | Displays information about all common events that have been sent since system startup. |
| -e/--event | Displays information about a specific event. | | -e/--event | Displays information about a specific event. |
| -h/--help | Displays the help information. | | -h/--help | Displays the help information. |
* Example * Example
...@@ -69,7 +69,7 @@ The common event and notification module provides debugging tools to facilitate ...@@ -69,7 +69,7 @@ The common event and notification module provides debugging tools to facilitate
### help ### help
* Functionality * Function
Displays the help information. Displays the help information.
...@@ -87,7 +87,7 @@ The common event and notification module provides debugging tools to facilitate ...@@ -87,7 +87,7 @@ The common event and notification module provides debugging tools to facilitate
### dump ### dump
* Functionality * Function
Displays information about notifications. Displays information about notifications.
...@@ -97,19 +97,19 @@ The common event and notification module provides debugging tools to facilitate ...@@ -97,19 +97,19 @@ The common event and notification module provides debugging tools to facilitate
The table below describes the available options. The table below describes the available options.
| Option | Description | | Option | Description |
| ---------------- | ---------------------------------------- | | ---------------- | ---------------------------------------- |
| -A/--active | Displays information about all active notifications. | | -A/--active | Displays information about all active notifications. |
| -R/--recent | Displays information about the recent notifications. | | -R/--recent | Displays information about the recent notifications. |
| -D/--distributed | Displays information about distributed notifications from other devices. | | -D/--distributed | Displays information about distributed notifications from other devices. |
| --setRecentCount | Indicates the number of the cached recent notifications to be displayed. Optional.| | --setRecentCount | Indicates the number of the cached recent notifications to be displayed. Optional. |
| -h/--help | Displays the help information. | | -h/--help | Displays the help information. |
* Example * Example
`anm dump -A` `anm dump -A`
Displays information about all active notifications. Display information about all active notifications.
![anm-dump-A](figures/anm-dump-A.png) ![anm-dump-A](figures/anm-dump-A.png)
...@@ -117,11 +117,11 @@ The common event and notification module provides debugging tools to facilitate ...@@ -117,11 +117,11 @@ The common event and notification module provides debugging tools to facilitate
`anm dump --setRecentCount 10` `anm dump --setRecentCount 10`
Set the number of the cached recent notifications to be displayed to 10. Set the number of the cached recent notifications to be displayed to **10**.
### help ### help
* Functionality * Function
Displays the help information. Displays the help information.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册