mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Add help for IP format
This commit is contained in:
@@ -289,6 +289,18 @@ static inline void printCommandHelp(const char* command)
|
||||
"Locale code"
|
||||
);
|
||||
}
|
||||
else if(strcasecmp(command, "local-ip-format") == 0)
|
||||
{
|
||||
constructAndPrintCommandHelpFormat("local-ip", "{}", 1,
|
||||
"Local IP address"
|
||||
);
|
||||
}
|
||||
else if(strcasecmp(command, "public-ip-format") == 0)
|
||||
{
|
||||
constructAndPrintCommandHelpFormat("public-ip", "{}", 1,
|
||||
"Public IP address"
|
||||
);
|
||||
}
|
||||
else
|
||||
fprintf(stderr, "No specific help for command %s provided\n", command);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user