Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Apache Commons CLI ライブラリに慣れてきました。OptionBuilder には、オプションの引数名を指定できるこの関数があります。引数名が必要な状況については不明です。どんな洞察も価値があります。ありがとう。
「引数名」は、ヘルプ テキストの作成にのみ使用されます。getArgName()メソッドへの唯一の呼び出しは、HelpFormatterクラスからのものです。
getArgName()
HelpFormatter