Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XxxFlagのUsageで改行して文章を出力するとキレイでない #185

Open
ddddddO opened this issue Jun 25, 2023 · 1 comment
Open

Comments

@ddddddO
Copy link
Owner

ddddddO commented Jun 25, 2023

コマンド自体の説明文章は、行頭が揃って出力されるが、フラグのUsageはそうでない
github.com/urfave/cli のどこをいじればいけそうか探してprつくる

@ddddddO
Copy link
Owner Author

ddddddO commented Jun 25, 2023

unit testはこのあたり?ここら辺のコードをデバッグしていったらわかるかも
https://github.com/urfave/cli/blob/45b41c83f564be3eb1268aa9a405d6a8ae4d3ad2/help_test.go#L1591-L1595

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant