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.
optparse を使用するときに「-h」出力を変更するきちんとした方法はありますか? 基本的に、出力される「景品」の使用説明書に加えて、追加したいテキストが山ほどあります。
それとも、これを行うための完全に間違ったアプローチですか?
optparse.OptionParser - パラメータusageの説明progを参照してくださいepilog。
usage
prog
epilog