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

Help switch throws an error #22

Closed
MatthewCallis opened this issue Jul 30, 2014 · 1 comment
Closed

Help switch throws an error #22

MatthewCallis opened this issue Jul 30, 2014 · 1 comment
Labels

Comments

@MatthewCallis
Copy link

Simply using the -h switch throws an error:

haml-lint -h
Usage: haml-lint [options] [file1, file2, ...]
    -i, --include-linter linter,...  Specify which linters you want to run
    -x, --exclude-linter linter,...  Specify which linters you don't want to run
    -c, --config config-file         Specify which configuration file you want to use
    -e, --exclude file,...           List of file names to exclude
        --show-linters               Display available linters
    -h, --help                       Display help documentation
    -v, --version                    Display version

uninitialized constant HamlLint::CLI::SysExits
/Users/matthew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/haml-lint-0.6.0/lib/haml_lint/cli.rb:42:in `act_on_options'
/Users/matthew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/haml-lint-0.6.0/lib/haml_lint/cli.rb:22:in `run'
/Users/matthew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/haml-lint-0.6.0/bin/haml-lint:7:in `<top (required)>'
/Users/matthew/.rbenv/versions/2.1.1/bin/haml-lint:23:in `load'
/Users/matthew/.rbenv/versions/2.1.1/bin/haml-lint:23:in `<main>'
Report this bug at https://github.com/causes/haml-lint/issues

But others do not:

haml-lint -v
haml-lint 0.6.0
@sds
Copy link
Owner

sds commented Aug 1, 2014

Thanks for the report, @MatthewCallis!

Fixed in fa1c529.

@sds sds closed this as completed Aug 1, 2014
@sds sds added the bug label Aug 1, 2014
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