<div dir="ltr">Thank you for explanation. Pushed to default.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 4, 2017 at 4:13 AM, Mateusz <span dir="ltr"><<a href="mailto:mateuszb@poczta.onet.pl" target="_blank">mateuszb@poczta.onet.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">W dniu 03.12.2017 o 22:01, Ashok Kumar Mishra pisze:<br>
<span class="">> We have similar command line --help. Can you help me understand the purpose of introducing new command line --fullhelp.<br>
<br>
</span>'--help' shows short list, '--log-level full --help' shows full list but is hard to remember and hard to write.<br>
<br>
'--fullhelp' shows full list and it is easy to remember and write (== '--log-level full --help').<br>
<br>
In x264 there are 3 help levels:<br>
--help<br>
--longhelp<br>
--fullhelp<br>
<span class=""><br>
<br>
> On Thu, Nov 30, 2017 at 11:00 PM, Ma0 <<a href="mailto:mateuszb@poczta.onet.pl">mateuszb@poczta.onet.pl</a> <mailto:<a href="mailto:mateuszb@poczta.onet.pl">mateuszb@poczta.onet.<wbr>pl</a>>> wrote:<br>
><br>
>     # HG changeset patch<br>
</span>>     # User Ma0 <<a href="mailto:mateuszb@poczta.onet.pl">mateuszb@poczta.onet.pl</a> <mailto:<a href="mailto:mateuszb@poczta.onet.pl">mateuszb@poczta.onet.<wbr>pl</a>>><br>
<div><div class="h5">>     # Date 1512062959 -3600<br>
>     #      Thu Nov 30 18:29:19 2017 +0100<br>
>     # Node ID eb984fafe55d6382d67d5b98897cf5<wbr>b88179616f<br>
>     # Parent  b1dfa312234ed72c3541831a15f307<wbr>feaf79484d<br>
>     cli: add new option '--fullhelp'<br>
><br>
>     diff -r b1dfa312234e -r eb984fafe55d source/x265.cpp<br>
>     --- a/source/x265.cpp   Thu Nov 30 10:06:49 2017 +0530<br>
>     +++ b/source/x265.cpp   Thu Nov 30 18:29:19 2017 +0100<br>
>     @@ -301,6 +301,13 @@<br>
>                      if (!this->qpfile)<br>
>                          x265_log_file(param, X265_LOG_ERROR, "%s qpfile not found or error in opening qp file\n", optarg);<br>
>                  }<br>
>     +            OPT("fullhelp")<br>
>     +            {<br>
>     +                param->logLevel = X265_LOG_FULL;<br>
>     +                printVersion(param, api);<br>
>     +                showHelp(param);<br>
>     +                break;<br>
>     +            }<br>
>                  else<br>
>                      bError |= !!api->param_parse(param, long_options[long_options_<wbr>index].name, optarg);<br>
><br>
>     diff -r b1dfa312234e -r eb984fafe55d source/x265cli.h<br>
>     --- a/source/x265cli.h  Thu Nov 30 10:06:49 2017 +0530<br>
>     +++ b/source/x265cli.h  Thu Nov 30 18:29:19 2017 +0100<br>
>     @@ -38,6 +38,7 @@<br>
>      static const struct option long_options[] =<br>
>      {<br>
>          { "help",                 no_argument, NULL, 'h' },<br>
>     +    { "fullhelp",             no_argument, NULL, 0 },<br>
>          { "version",              no_argument, NULL, 'V' },<br>
>          { "asm",            required_argument, NULL, 0 },<br>
>          { "no-asm",               no_argument, NULL, 0 },<br>
>     @@ -314,6 +315,7 @@<br>
>          H0("    outfile is raw HEVC bitstream\n");<br>
>          H0("\nExecutable Options:\n");<br>
>          H0("-h/--help                        Show this help text and exit\n");<br>
>     +    H0("   --fullhelp                    Show all options and exit\n");<br>
>          H0("-V/--version                     Show version info and exit\n");<br>
>          H0("\nOutput Options:\n");<br>
>          H0("-o/--output <filename>           Bitstream output file name\n");<br>
>     @@ -565,7 +567,7 @@<br>
>      #undef H1<br>
><br>
>          if (level < X265_LOG_DEBUG)<br>
>     -        printf("\nUse --log-level full --help for a full listing\n");<br>
>     +        printf("\nUse --fullhelp for a full listing (or --log-level full --help)\n");<br>
</div></div>>          printf("\n\nComplete documentation may be found at <a href="http://x265.readthedocs.org/en/default/cli.html\n" rel="noreferrer" target="_blank">http://x265.readthedocs.org/<wbr>en/default/cli.html\n</a> <<a href="http://x265.readthedocs.org/en/default/cli.html\n" rel="noreferrer" target="_blank">http://x265.readthedocs.org/<wbr>en/default/cli.html\n</a>>");<br>
<span class="">>          exit(1);<br>
>      }<br>
>     ______________________________<wbr>_________________<br>
>     x265-devel mailing list<br>
</span>>     <a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a> <mailto:<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.<wbr>org</a>><br>
>     <a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a> <<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a>><br>
<div class="HOEnZb"><div class="h5">><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> x265-devel mailing list<br>
> <a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
> <a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a><br>
><br>
<br>
<br>
______________________________<wbr>_________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a><br>
</div></div></blockquote></div><br></div>