[vlmc-devel] [PATCH] Main: Add logging info to --help message

yikei lu luyikei.qmltu at gmail.com
Fri Jul 29 13:15:14 CEST 2016


2016-07-29 19:48 GMT+09:00 Pawel Golinski <golpaw1 at gmail.com>:
> Would save me a ton of time if it was
> already there.
> ---
>  src/Main/vlmc.cpp | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/src/Main/vlmc.cpp b/src/Main/vlmc.cpp
> index 3e97de6..cb1fc15 100644
> --- a/src/Main/vlmc.cpp
> +++ b/src/Main/vlmc.cpp
> @@ -89,7 +89,11 @@ usage( QString const& appName )
>          << "Options:\n"
>          << "\t[--project|-p projectfile]\tload the given VLMC project\n"
>          << "\t[--version]\tversion information\n"
> -        << "\t[--help|-?]\tthis text\n\n"
> +        << "\t[--help|-?]\tthis text\n"
> +        << "\t[-v]\tenable verbose logging\n"
> +        << "\t[-vv]\tenable debug logging\n"
> +        << "\t[--backendverbose=level]\tset backend logging level (1-Error, 2-Warning, 3-Debug)\n"
> +        << "\tNote that in order to display all backend log messages, -vv argument must be supplied as well.\n\n"

Does it make more sense if the backendverbose option ignores -v or -vv
? I'm not sure :)

>          << "\tFILES:\n"
>          << "\t\tFiles specified on the command line should include \n"
>          << "\t\tVLMC project files (.vlmc)\n";
> --
> 2.7.4 (Apple Git-66)
>
> _______________________________________________
> Vlmc-devel mailing list
> Vlmc-devel at videolan.org
> https://mailman.videolan.org/listinfo/vlmc-devel


More information about the Vlmc-devel mailing list