[vlmc-devel] [PATCH] Main: Add logging info to --help message
Paweł Goliński
golpaw1 at gmail.com
Fri Jul 29 13:17:21 CEST 2016
> Wiadomość napisana przez yikei lu <luyikei.qmltu at gmail.com> w dniu 29.07.2016, o godz. 13:15:
>
> 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 :)
For me it doesn’t make sense, but that’s the way it is
and I’ve written it here to save someone like me
tedious code reading+debugging in the future
in case logging doesn’t work as it should.
>
>> << "\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
> _______________________________________________
> Vlmc-devel mailing list
> Vlmc-devel at videolan.org
> https://mailman.videolan.org/listinfo/vlmc-devel
More information about the Vlmc-devel
mailing list