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

Arg.align misaligns when using Arg.Symbol(_,_) #4305

Closed
vicuna opened this issue May 28, 2007 · 1 comment
Closed

Arg.align misaligns when using Arg.Symbol(_,_) #4305

vicuna opened this issue May 28, 2007 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented May 28, 2007

Original bug ID: 4305
Reporter: berke
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2007-11-20T17:46:11Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.10.0
Fixed in version: 3.10+dev
Category: ~DO NOT USE (was: OCaml general)

Bug description

When reporting usage, the Arg module incorrectly computes the displayed
length of Symbol arguments (whose enumeration is shown), leading to unaligned
output such as:

-foo {a|b|c} bar
-b barbar
-help Display this list of options
--help Display this list of options

@vicuna
Copy link
Author

vicuna commented Nov 20, 2007

Comment author: @damiendoligez

The problem is that the lists of symbols are usually too long to
make this practical. In 3.10.1+dev2, I will add a newline and
align it on the next line.

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

No branches or pull requests

2 participants