summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-11-15 10:48:33 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-11-15 10:48:33 +0200
commit5bd382f3a32762cdc1b4ed08753aaba73197d5bc (patch)
tree9b20a83b566b3be8bd056a8155a2a31d8e0a7c50 /rpmqv.c
parent90440e20365d95d98f630d0c1015f5426d4a71cd (diff)
downloadlibrpm-tizen-5bd382f3a32762cdc1b4ed08753aaba73197d5bc.tar.gz
librpm-tizen-5bd382f3a32762cdc1b4ed08753aaba73197d5bc.tar.bz2
librpm-tizen-5bd382f3a32762cdc1b4ed08753aaba73197d5bc.zip
Remove no longer relevant references to build from arg sanity checks
Diffstat (limited to 'rpmqv.c')
-rw-r--r--rpmqv.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/rpmqv.c b/rpmqv.c
index e68fb7546..e71874d30 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -150,7 +150,7 @@ int main(int argc, char *argv[])
#if defined(IAM_RPMEIU)
if (!( bigMode == MODE_INSTALL ) &&
(ia->probFilter & (RPMPROB_FILTER_REPLACEPKG | RPMPROB_FILTER_OLDPACKAGE)))
- argerror(_("only installation, upgrading, rmsource and rmspec may be forced"));
+ argerror(_("only installation and upgrading may be forced"));
if (bigMode != MODE_INSTALL && (ia->probFilter & RPMPROB_FILTER_FORCERELOCATE))
argerror(_("files may only be relocated during package installation"));
@@ -228,12 +228,11 @@ int main(int argc, char *argv[])
if (ia->noDeps & (bigMode & ~MODES_FOR_NODEPS))
argerror(_("--nodeps may only be specified during package "
- "building, rebuilding, recompilation, installation,"
- "erasure, and verification"));
+ "installation, erasure, and verification"));
if ((ia->transFlags & RPMTRANS_FLAG_TEST) && (bigMode & ~MODES_FOR_TEST))
- argerror(_("--test may only be specified during package installation, "
- "erasure, and building"));
+ argerror(_("--test may only be specified during package installation "
+ "and erasure"));
#endif /* IAM_RPMEIU */
if (rpmcliRootDir && rpmcliRootDir[0] != '/') {