Add APK (Alpine Package Keeper) support

This commit is contained in:
Maxim Karasev
2022-08-18 21:15:00 +03:00
parent e3cdf9d9fd
commit b2e0034c34
3 changed files with 12 additions and 4 deletions
+3 -2
View File
@@ -107,7 +107,7 @@ static inline void printCommandHelp(const char* command)
}
else if(strcasecmp(command, "packages-format") == 0)
{
constructAndPrintCommandHelpFormat("packages", "{2} (pacman){?3}[{3}]{?}, {4} (dpkg), {5} (rpm), {6} (emerge), {7} (xbps), {8} (nix-user), {9} (nix-default), {10} (flatpak), {11} (snap)", 11,
constructAndPrintCommandHelpFormat("packages", "{2} (pacman){?3}[{3}]{?}, {4} (dpkg), {5} (rpm), {6} (emerge), {7} (xbps), {8} (nix-user), {9} (nix-default), {10} (flatpak), {11} (snap), {12} (apk)", 12,
"Number of all packages",
"Number of pacman packages",
"Pacman branch on manjaro",
@@ -119,7 +119,8 @@ static inline void printCommandHelp(const char* command)
"Number of nix-user packages",
"Number of nix-default packages",
"Number of flatpak packages",
"Number of snap packages"
"Number of snap packages",
"Number of apk packages"
);
}
else if(strcasecmp(command, "shell-format") == 0)