easyoptions icon indicating copy to clipboard operation
easyoptions copied to clipboard

Ignore double-hash comments after help text

Open thorstenkampe opened this issue 9 years ago • 0 comments

From what I understand, easyoptions follows the same principle as docopt: describe your scripts options in the help text and let easyoptions create the parser for the script.

Unfortunately easyoptions searches the complete script code for ## comments, not just the first contiguous block ("Docstring" in Python terminology). This creates problems because I use ## BLOCK ## markers in my script to visually mark blocks in my scripts. Easyoptions considers these part of the help text.

thorstenkampe avatar Apr 06 '15 15:04 thorstenkampe