mirror of
https://github.com/reactos/packmgr.git
synced 2024-11-23 03:49:39 +00:00
PackageManager: Little fix
svn path=/trunk/rosapps/packmgr/; revision=22
This commit is contained in:
parent
f3d2a4d8bd
commit
7538741e84
@ -22,43 +22,42 @@ int main (int argc, char **argv)
|
||||
if(argc<2)
|
||||
return Help();
|
||||
|
||||
|
||||
// install a package
|
||||
if (argv[1] == "install")
|
||||
if (!strcmp(argv[1], "install"))
|
||||
Install();
|
||||
|
||||
// install a package from source
|
||||
else if (argv[1] == "src-inst")
|
||||
else if (!strcmp(argv[1], "src-inst"))
|
||||
{
|
||||
wprintf(L"Sorry but I can't do that yet. \n");
|
||||
}
|
||||
|
||||
// update a package
|
||||
else if (argv[1] == "update")
|
||||
else if (!strcmp(argv[1], "update"))
|
||||
{
|
||||
wprintf(L"Sorry but I can't do that yet. \n");
|
||||
}
|
||||
|
||||
// update everything
|
||||
else if (argv[1] == "dist-upgrade")
|
||||
else if (!strcmp(argv[1], "dist-upgrade"))
|
||||
{
|
||||
wprintf(L"Sorry but I can't do that yet. \n");
|
||||
}
|
||||
|
||||
// remove a package
|
||||
else if (argv[1] == "remove")
|
||||
else if (!strcmp(argv[1], "remove"))
|
||||
{
|
||||
wprintf(L"Sorry but I can't do that yet. \n");
|
||||
}
|
||||
|
||||
// search for a package
|
||||
else if (argv[1] == "show")
|
||||
else if (!strcmp(argv[1], "show"))
|
||||
{
|
||||
Show();
|
||||
}
|
||||
|
||||
// search for a package
|
||||
else if (argv[1] == "search")
|
||||
else if (!strcmp(argv[1], "search"))
|
||||
{
|
||||
wprintf(L"Sorry but I can't do that yet. \n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user