[SWDEV-549789] Removed incorrect CPER AFID references (#619)
* Fix for afid help
* Update amdsmi_parser.py
Signed-off-by: AL Musaffar, Yazen <Yazen.ALMusaffar@amd.com>
[ROCm/amdsmi commit: e84e364b35]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
96a28009fc
Коммит
678972b8ec
@@ -1495,13 +1495,13 @@ class AMDSMIParser(argparse.ArgumentParser):
|
||||
|
||||
# Help text for RAS arguments
|
||||
cper_help = "Trigger current CPER data retrieval"
|
||||
afid_help = "Generate an AFID (AMD Field ID) using a CPER record, which is similar to XID."
|
||||
afid_help = "Generate an AFID (AMD Field ID) given a CPER record file"
|
||||
severity_choices = ["nonfatal-uncorrected", "fatal", "nonfatal-corrected", "all"]
|
||||
severity_choices_str = ", ".join(severity_choices)
|
||||
severity_help = f"Set the SEVERITY filters from the following:\n {severity_choices_str}"
|
||||
folder_help = "Folder to dump current CPER report files"
|
||||
file_limit_help = "Maximum number of current CPER files in target folder\n Older files beyond limit will be deleted"
|
||||
cper_file_help = "Full path of a retrieved cper record file to generate the AFID"
|
||||
cper_file_help = "Full path of a retrieved CPER record file to generate the AFID"
|
||||
follow_help = "Continuously monitor for new CPER entries"
|
||||
|
||||
ras_parser = subparsers.add_parser("ras", help=ras_help, description=ras_description)
|
||||
|
||||
@@ -831,12 +831,12 @@ This command accepts options only; no positional arguments are required.
|
||||
RAS arguments:
|
||||
-h, --help show this help message and exit
|
||||
--cper Trigger CPER data retrieval
|
||||
--afid Generate an AFID (AMD Field ID) using CPER record, which is similar to XID.
|
||||
--afid Generate an AFID (AMD Field ID) given a CPER record file.
|
||||
--severity SEVERITY [SEVERITY ...] Set the SEVERITY filters from the following:
|
||||
nonfatal-uncorrected, fatal, nonfatal-corrected, all
|
||||
--folder FOLDER Folder to dump CPER report files
|
||||
--file-limit FILE_LIMIT Maximum number of entries per output file
|
||||
--cper-file CPER_FILE Full path of the cper record file to generate the AFID
|
||||
--cper-file CPER_FILE Full path of the CPER record file to generate the AFID
|
||||
--follow Continuously monitor for new entries
|
||||
|
||||
Device Arguments:
|
||||
|
||||
Ссылка в новой задаче
Block a user