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

Warn about argument that shouldn't exist #6

Closed
Joorem opened this issue Mar 29, 2020 · 0 comments
Closed

Warn about argument that shouldn't exist #6

Joorem opened this issue Mar 29, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Projects
Milestone

Comments

@Joorem
Copy link
Owner

Joorem commented Mar 29, 2020

Description

If a parameter takes no argument but the user still put one the syntax should highlight it as an error.

Exemple:
This is valid:

global # global section
    chroot /var/lib/haproxy
    daemon

This is not valid:

global no_value_here # global section doesn't take any argument
    chroot /var/lib/haproxy
    daemon yes       # same for `daemon'
@Joorem Joorem added the enhancement New feature or request label Mar 29, 2020
@Joorem Joorem self-assigned this Mar 29, 2020
@Joorem Joorem added this to To do in v0.2.1 via automation Mar 29, 2020
@Joorem Joorem added this to the v0.2.1 milestone Mar 29, 2020
@Joorem Joorem moved this from To do to In progress in v0.2.1 Mar 29, 2020
@Joorem Joorem moved this from In progress to Done in v0.2.1 Mar 29, 2020
@Joorem Joorem closed this as completed in 94a22a9 Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
v0.2.1
  
Done
Development

No branches or pull requests

1 participant