Re: [PATCH 3/3] Improve usage documentation for some options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luiz,

On Wed, May 25, 2011 at 11:40 AM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
>
> ---
>  src/main.c |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/src/main.c b/src/main.c
> index e1ce442..5b30f07 100644
> --- a/src/main.c
> +++ b/src/main.c
> @@ -100,13 +100,17 @@ static GOptionEntry options[] = {
>                                G_OPTION_ARG_CALLBACK, parse_debug,
>                                "Enable debug information output", "DEBUG" },
>        { "root", 'r', 0, G_OPTION_ARG_STRING, &option_root,
> -                               "Specify root folder location", "PATH" },
> +                               "Specify root folder location. Both absolute"
> +                               "and relative can be use, but relative paths"
> +                               "are assume to be relative to user $HOME"
> +                               "folder", "PATH" },

IIRC, you should add the spaces to the string if you want them on the
printed string, otherwise you will see:

absoluteand
pathsare
etc.

>        { "root-setup", 'S', 0, G_OPTION_ARG_STRING, &option_root_setup,
>                                "Root folder setup script", "SCRIPT" },
>        { "symlinks", 'l', 0, G_OPTION_ARG_NONE, &option_symlinks,
>                                "Enable symlinks on root folder" },
>        { "capability", 'c', 0, G_OPTION_ARG_STRING, &option_capability,
> -                               "Specify capability file", "FILE" },
> +                               "Specify capability file, use '!' mark for"
> +                               "scripts", "FILE" },

Same here.

Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux