pkgman: Update some user messages
This commit is contained in:
@@ -267,9 +267,14 @@ PackageManager::_PrintResult(InstalledRepository& installationRepository)
|
||||
|
||||
for (int32 i = 0; BSolverPackage* package = packagesToActivate.ItemAt(i);
|
||||
i++) {
|
||||
printf(" install package %s from repository %s\n",
|
||||
package->Info().FileName().String(),
|
||||
package->Repository()->Name().String());
|
||||
if (dynamic_cast<MiscLocalRepository*>(package->Repository()) == NULL) {
|
||||
printf(" install package %s from repository %s\n",
|
||||
package->Info().FileName().String(),
|
||||
package->Repository()->Name().String());
|
||||
} else {
|
||||
printf(" install package %s from local file\n",
|
||||
package->Info().FileName().String());
|
||||
}
|
||||
}
|
||||
|
||||
for (int32 i = 0; BSolverPackage* package = packagesToDeactivate.ItemAt(i);
|
||||
|
||||
@@ -29,7 +29,9 @@ static const char* const kShortUsage =
|
||||
|
||||
static const char* const kLongUsage =
|
||||
"Usage: %program% %command% <package> ...\n"
|
||||
"Installs the specified packages.\n"
|
||||
"Installs the specified packages. A <package> argument can be a search\n"
|
||||
"string by which the package is looked up in a remote repository or a\n"
|
||||
"path to a local package file. In the latter case the file is copied.\n"
|
||||
"\n"
|
||||
"Options:\n"
|
||||
" -H, --home\n"
|
||||
|
||||
@@ -31,6 +31,9 @@ static const char* const kLongUsage =
|
||||
"Usage: %program% %command% [ <package> ... ]\n"
|
||||
"Updates the specified packages. If no packages are given, all packages\n"
|
||||
"in the installation location are updated.\n"
|
||||
"A <package> argument can be a search string by which the package is\n"
|
||||
"looked up locally and in a remote repository or a path to a local\n"
|
||||
"package file. In the latter case the file is copied.\n"
|
||||
"\n"
|
||||
"Options:\n"
|
||||
" -H, --home\n"
|
||||
|
||||
Reference in New Issue
Block a user