mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v0.99][PPC] Rename "Name" field in ppc to "Part Number" (suggested by #85), since it is the standard way to refer to this info
This commit is contained in:
@@ -67,8 +67,10 @@ enum {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const char* ATTRIBUTE_FIELDS [] = {
|
static const char* ATTRIBUTE_FIELDS [] = {
|
||||||
#if defined(ARCH_X86) || defined(ARCH_PPC)
|
#ifdef ARCH_X86
|
||||||
"Name:",
|
"Name:",
|
||||||
|
#elif ARCH_PPC
|
||||||
|
"Part Number:",
|
||||||
#elif ARCH_ARM
|
#elif ARCH_ARM
|
||||||
"SoC:",
|
"SoC:",
|
||||||
"",
|
"",
|
||||||
@@ -96,8 +98,10 @@ static const char* ATTRIBUTE_FIELDS [] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const char* ATTRIBUTE_FIELDS_SHORT [] = {
|
static const char* ATTRIBUTE_FIELDS_SHORT [] = {
|
||||||
#if defined(ARCH_X86) || defined(ARCH_PPC)
|
#if defined(ARCH_X86)
|
||||||
"Name:",
|
"Name:",
|
||||||
|
#elif ARCH_PPC
|
||||||
|
"P/N:",
|
||||||
#elif ARCH_ARM
|
#elif ARCH_ARM
|
||||||
"SoC:",
|
"SoC:",
|
||||||
"",
|
"",
|
||||||
|
|||||||
Reference in New Issue
Block a user