[Libosinfo] [libosinfo PATCH] osinfo-detect: Improve --help wording

Fabiano Fidêncio fidencio at redhat.com
Mon Apr 15 08:09:10 UTC 2019


The "URL type" text leads to the misunderstanding that `osinfo-detect`
only works for URLs and not for local medias as well.

Let's change the wording in order to make it clearer.

https://gitlab.com/libosinfo/libosinfo/issues/26

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 tools/osinfo-detect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/osinfo-detect.c b/tools/osinfo-detect.c
index 2c3ced3..626df7d 100644
--- a/tools/osinfo-detect.c
+++ b/tools/osinfo-detect.c
@@ -98,7 +98,7 @@ static GOptionEntry entries[] =
       N_("plain|env.") },
     { "type", 't', 0,
       G_OPTION_ARG_CALLBACK, parse_type_str,
-      N_("URL type. Default: media"),
+      N_("The type to be used. Default: media"),
       N_("media|tree.") },
     { 0 }
 };
-- 
2.20.1




More information about the Libosinfo mailing list