Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Misleading message for --dry-run with --replace

オープン 初心者向け
#1,094 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java
領域
cli

調査の方向性

CommandLineOptionsParser.java の 68 行目付近から始め、--dry-run(または -n)を --replace、-replace、-r、または -i と組み合わせたときのメッセージを再現してください。関連するヘルプテキストを確認し、ユーザーに表示されるオプション名と報告される非互換性のどちらを修正すべきか判断してください。コマンドが利用できない --in-place オプションを参照しなくなり、ヘルプテキストがサポートされているフラグと一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

If you specify both --dry-run (or -n) and --replace (or -replace, -r or -i) you get a message stating "cannot use --dry-run and --in-place at the same time".

The problem is that there is no --in-place option. inPlace is however the internal variable name used for --replace. There's two possible fixes:

  1. Change the message. This could affect anything which tries to use the message in some kind of script.
  2. Add the --in-place option at line 68 in CommandLineOptionsParser.java and related help text. This should not affect anything else.
主要言語
Java
スター
6.2k
フォーク
936
平均マージ
6分
マージ済み PR(30日)
3

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google/google-java-format のほかの issue

google/google-java-format の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。