<div dir="ltr">We have similar command line --help. Can you help me understand the purpose of introducing new command line --fullhelp.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 30, 2017 at 11:00 PM, Ma0 <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"># HG changeset patch<br>
# User Ma0 <<a href="mailto:mateuszb@poczta.onet.pl">mateuszb@poczta.onet.pl</a>><br>
# 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>
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>");<br>
exit(1);<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>
</blockquote></div><br></div>