Change error message for concise json/csv

The error message is changed to not supported instead of errors.

Change-Id: I28bd1e009770674389534be12519cc34673ba846
Tento commit je obsažen v:
Bill(Shuzhou) Liu
2024-06-21 09:08:53 -05:00
odevzdal Shuzhou Liu
rodič d54bade574
revize 57e8e72b79
+2 -2
Zobrazit soubor
@@ -1939,7 +1939,7 @@ def showAllConcise(deviceList):
"""
global PRINT_JSON, appWidth
if PRINT_JSON:
print('ERROR: Cannot print JSON/CSV output for concise output')
print('NOT_SUPPORTED: Cannot print JSON/CSV output for concise output')
sys.exit(1)
silent = True
@@ -2043,7 +2043,7 @@ def showAllConciseHw(deviceList):
"""
global PRINT_JSON
if PRINT_JSON:
print('ERROR: Cannot print JSON/CSV output for concise hardware output')
print('NOT_SUPPORTED: Cannot print JSON/CSV output for concise hardware output')
sys.exit(1)
header = ['GPU', 'NODE', 'DID', 'GUID', 'GFX VER', 'GFX RAS', 'SDMA RAS', 'UMC RAS', 'VBIOS', 'BUS'
, 'PARTITION ID']