Misleading message for --dry-run with --replace
まだ誰も着手していません。
評価
調査の方向性
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:
- Change the message. This could affect anything which tries to use the message in some kind of script.
- 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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/google-java-format のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
google/google-java-format#1450 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
google/google-java-format#1439 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
google/google-java-format#1436 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
google/google-java-format#1428 · コメント 3 件 ·
-
Eclipse
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
google/google-java-format#1417 ·
google/google-java-format の issue をすべて見る
似ている issue
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/flink-agents#1152 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
jenkinsci/blueocean-plugin#5417 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
objectionary/eo-graphs#75 ·