mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-07 21:50:08 +01:00
NetUsage: finish docs
This commit is contained in:
+18
-5
@@ -381,18 +381,31 @@ static inline void printCommandHelp(const char* command)
|
||||
"Locale code"
|
||||
);
|
||||
}
|
||||
else if(ffStrEqualsIgnCase(command, "local-ip-format"))
|
||||
else if(ffStrEqualsIgnCase(command, "localip-format"))
|
||||
{
|
||||
constructAndPrintCommandHelpFormat("local-ip", "{}", 1,
|
||||
"Local IP address"
|
||||
constructAndPrintCommandHelpFormat("localip", "{}", 5,
|
||||
"Local IPv4 address",
|
||||
"Local IPv6 address",
|
||||
"Physical (MAC) address",
|
||||
"Interface name",
|
||||
"Is default route"
|
||||
);
|
||||
}
|
||||
else if(ffStrEqualsIgnCase(command, "public-ip-format"))
|
||||
else if(ffStrEqualsIgnCase(command, "publicip-format"))
|
||||
{
|
||||
constructAndPrintCommandHelpFormat("public-ip", "{}", 1,
|
||||
constructAndPrintCommandHelpFormat("publicip", "{}", 1,
|
||||
"Public IP address"
|
||||
);
|
||||
}
|
||||
else if(ffStrEqualsIgnCase(command, "netusage-format"))
|
||||
{
|
||||
constructAndPrintCommandHelpFormat("netusage", "{}", 3,
|
||||
"Size of data received per second (formatted)",
|
||||
"Size of data sent per second (formatted)",
|
||||
"Interface name",
|
||||
"Is default route"
|
||||
);
|
||||
}
|
||||
else if(ffStrEqualsIgnCase(command, "wifi-format"))
|
||||
{
|
||||
constructAndPrintCommandHelpFormat("wifi", "{4} - {6}", 3,
|
||||
|
||||
Reference in New Issue
Block a user