[php-src] Issue #9670: The help document of php misses two options

From: Date: Tue, 04 Oct 2022 14:53:21 +0000
Subject: [php-src] Issue #9670: The help document of php misses two options
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242522@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9670 Author: ccccmd The "-h" option of php misses the option "C", "q". + For the option "C", the following code appears during option parsing in sapi/cli/php_cli.c:701-703 for version 8.0.23. ``` case 'C': /* don't chdir to the script directory */ /* This is default so NOP */ break; ``` + For the option "q", the following code appears during option parsing in sapi/cli/php_cli.c:737-739 for version 8.0.23. ``` case 'q': /* do not generate HTTP headers */ /* This is default so NOP */ break; ``` Although it has no actual function, it is still possible forget to modify the help document after adding the function in a subsequent update. But they do not appear in the document provided by "-h". It may prevent users from using the relevant function.

« previous php.bugs (#242522) next »