The help document of php misses two options
オープン
まだ誰も着手していません。
Bug
SAPI: cli
Status: Verified
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.2k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 96
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、PHP の -h の出力を生成するソースを見つけ、sapi/cli/php_cli.c:701-703 および 737-739 の C と q の case とオプション一覧を比較します。ヘルプ出力に両方のオプションが記載され、関連する CLI ヘルプテストが存在する場合はそれらにパスすれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c
- 領域
- cli, documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100