Help Command

API Prototype

ascend-fd -h

or

ascend-fd --help

Description

Displays the meanings and usage instructions of commands and parameters.

Parameters

Table 1 Parameters

Parameter

Abbreviation

Required (Yes/No)

Value Type

Description

--help

-h

No

-

Displays the meanings and usage instructions of level-2 commands and parameters.

Return Value

Parameters and usage description

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
    config              custom configuration parsing files
    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