filbranden / rpms / dnf

Forked from rpms/dnf 4 years ago
Clone
Blob Blame History Raw
From 8bf82005099314c4fb98fba61d4c34dc67f10004 Mon Sep 17 00:00:00 2001
From: Jaroslav Mracek <jmracek@redhat.com>
Date: Wed, 6 Feb 2019 12:41:30 +0100
Subject: [PATCH] Enhance help message for --nobest option

---
 dnf/cli/option_parser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dnf/cli/option_parser.py b/dnf/cli/option_parser.py
index e158d16..d004cd9 100644
--- a/dnf/cli/option_parser.py
+++ b/dnf/cli/option_parser.py
@@ -201,7 +201,7 @@ class OptionParser(argparse.ArgumentParser):
         best_group.add_argument("-b", "--best", action="store_true", dest='best', default=None,
                                 help=_("try the best available package versions in transactions."))
         best_group.add_argument("--nobest", action="store_false", dest='best',
-                                help=_("not narrow transaction to best candidate"))
+                                help=_("do not limit the transaction to the best candidate"))
         main_parser.add_argument("-C", "--cacheonly", dest="cacheonly",
                                  action="store_true", default=None,
                                  help=_("run entirely from system cache, "
--
libgit2 0.27.7