帮助命令接口

接口原型

ascend-fd -h

ascend-fd --help

功能说明

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

返回说明

返回参数与使用说明。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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