帮助命令接口

接口原型

ascend-fd -h

ascend-fd --help

功能说明

查询命令与参数含义以及使用说明。

参数说明

表1 参数说明

参数

缩写

是否必选

值类型

说明

--help

-h

-

查询二级命令与参数含义以及使用说明。

返回说明

返回参数与使用说明。

usage: ascend-fd [-h] {version,parse,diag,blacklist,entity,single-diag} ...
Ascend Fault Diag
positional arguments:
  {version,parse,diag,blacklist,entity,single-diag}
    version             show ascend-fd version
    parse               parse origin log files
    diag                diag parsed log files
    blacklist           filter invalid CANN logs by blacklist for parsing
    entity              perform operations on the user-defined faulty entity.
    single-diag         single parse and diag log files
optional arguments:
  -h, --help            show this help message and exit