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

Annoying empty lines between user options and standard options #72

Open
targzeta opened this issue Sep 8, 2021 · 1 comment
Open

Annoying empty lines between user options and standard options #72

targzeta opened this issue Sep 8, 2021 · 1 comment

Comments

@targzeta
Copy link

targzeta commented Sep 8, 2021

The code:

package Test;

use Moo;
use MooX::Options;

option 'account_id' => (is => 'ro', format => 'i', short => 'a|id');

1;

package main;

Test->new_with_options;

The result:

./test --help
USAGE: test [-h] [long options ...]

    --account_id: Int
        no doc for account_id

                                                                            
    
    --usage:
        show a short help message

    -h:
        show a compact help message

    --help:
        show a long help message

    --man:
        show the manual

I'm sorry for the duplicate test case (see #71), but they are two different things.

Best regards,
Emanuele

@rehsack
Copy link
Collaborator

rehsack commented Sep 9, 2021

Patches welcome

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

2 participants