[Libosinfo] [libosinfo PATCH] osinfo-detect: Improve --help wording
Cole Robinson
crobinso at redhat.com
Mon Apr 15 21:43:20 UTC 2019
On 4/15/19 4:09 AM, Fabiano Fidêncio wrote:
> 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 }
> };
>
Reviewed-by: Cole Robinson <crobinso at redhat.com>
- Cole
More information about the Libosinfo
mailing list