mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
Board: print version; don't print N/A
This commit is contained in:
@@ -23,7 +23,8 @@ static bool hostValueSet(FFstrbuf* value)
|
||||
ffStrbufIgnCaseCompS(value, "Not Applicable") != 0 &&
|
||||
ffStrbufIgnCaseCompS(value, "INVALID") != 0 &&
|
||||
ffStrbufIgnCaseCompS(value, "Type1ProductConfigId") != 0 &&
|
||||
ffStrbufIgnCaseCompS(value, "All Series") != 0
|
||||
ffStrbufIgnCaseCompS(value, "All Series") != 0 &&
|
||||
ffStrbufIgnCaseCompS(value, "N/A") != 0
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,10 @@ void ffPrintBoard(FFinstance* instance, FFBoardOptions* options)
|
||||
if(options->moduleArgs.outputFormat.length == 0)
|
||||
{
|
||||
ffPrintLogoAndKey(instance, FF_BOARD_MODULE_NAME, 0, &options->moduleArgs.key, &options->moduleArgs.keyColor);
|
||||
puts(result.boardName.chars);
|
||||
ffStrbufWriteTo(&result.boardName, stdout);
|
||||
if (result.boardVersion.length)
|
||||
printf(" (%s)", result.boardVersion.chars);
|
||||
putchar('\n');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user