[PATCH btbridge v2 1/3] Update usage message

Joel Stanley joel at jms.id.au
Thu Dec 10 12:03:23 AEDT 2015


On Wed, Dec 9, 2015 at 4:40 PM, OpenBMC Patches
<openbmc-patches at stwcx.xyz> wrote:
> From: Cyril Bur <cyril.bur at au1.ibm.com>
>
> ---
>  btbridged.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/btbridged.c b/btbridged.c
> index 115ae63..ab4880c 100644
> --- a/btbridged.c
> +++ b/btbridged.c
> @@ -584,7 +584,8 @@ out:
>
>  static void usage(const char *name)
>  {
> -       fprintf(stderr, "Usage %s\n", name);
> +       fprintf(stderr, "Usage %s [ --debug | --verbose ]\n", name);
> +       fprintf(stderr, "\t--debug\t Implies --verbose\n\t Dumps entire message contents to console\n");

I don't know what this means. What's the difference between debug and verbose?

It might be more discoverable to support multiple levels of verbosity.
-v for verbose, -vv for what you term "debug".

>         fprintf(stderr, "\t--verbose\t Be verbose\n\n");
>  }
>
> --
> 2.6.3
>
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


More information about the openbmc mailing list