From: Jan Kiszka <[email protected]>

Make sure the working fits both bg_setenv and bg_printenv.

Signed-off-by: Jan Kiszka <[email protected]>
---
 completion/common.py | 2 +-
 tools/bg_envtools.h  | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/completion/common.py b/completion/common.py
index 8134aef..e75f85e 100644
--- a/completion/common.py
+++ b/completion/common.py
@@ -16,7 +16,7 @@ def add_common_opts(parser):
     parser.add_argument(
         "-f", "--filepath", metavar="ENVFILE", help="Environment to use. 
Expects a file name, usually called BGENV.DAT."
     ).complete = shtab.FILE
-    parser.add_argument("-p", "--part", metavar="ENV_PART", type=int, 
help="Set environment partition to update")
+    parser.add_argument("-p", "--part", metavar="ENV_PART", type=int, 
help="Set environment partition to use")
     parser.add_argument("-v", "--verbose", action="store_true", help="Be 
verbose")
     parser.add_argument("-V", "--version", action="store_true", help="Print 
version")
     # there is a bug in shtab which currently prohibits "-?"
diff --git a/tools/bg_envtools.h b/tools/bg_envtools.h
index c7d42e5..895b53f 100644
--- a/tools/bg_envtools.h
+++ b/tools/bg_envtools.h
@@ -29,10 +29,9 @@
            "Environment to use. Expects a file name, "                        \
            "usually called BGENV.DAT.")                                       \
        , OPT("part", 'p', "ENV_PART", 0,                                      \
-             "Set environment partition to update. If no partition is "       \
-             "specified, "                                                    \
-             "the one with the smallest revision value above zero is "        \
-             "updated.")                                                      \
+             "Set environment partition to use. If no partition is "          \
+             "specified, the one with the smallest revision value above "     \
+             "zero is selected.")                                             \
        , OPT("verbose", 'v', 0, 0, "Be verbose")                              \
        , OPT("version", 'V', 0, 0, "Print version")
 
-- 
2.35.3

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/3918ff87-4dd7-b22a-01ae-00bb9dd1a6fa%40siemens.com.

Reply via email to