aacebedo / dnsdock

DNS service discovery for Docker containers
MIT License
607 stars 92 forks source link

The command option format has been changed from `-<option>` to `--<option>` in v1.16.0. #79

Closed ailispaw closed 7 years ago

ailispaw commented 7 years ago

It's not good and should be documented.

aacebedo commented 7 years ago

I didn't notice this change before the release. I'll update the docs asap

ailispaw commented 7 years ago

If it's possible to have both formats for compatibility, that would be great.

aacebedo commented 7 years ago

I'll check that however gnu long option are usually given with two hyphens (http://unix.stackexchange.com/questions/21852/single-dashes-for-single-character-options-but-double-dashes-for-words) So even if I can add that I will be a deprecated feature with a short lifespan

ailispaw commented 7 years ago

That's fine. I believe that we need some time to transit new features before deprecation.

ailispaw commented 7 years ago

Or the documentation may be fine. It's up to you. Thank you for maintaining this project anyway.

aacebedo commented 7 years ago

You're welcome :)

aacebedo commented 7 years ago

I've checked the api for the command line parser. It unfortunately not possible to add flag with - and multiple characters.