docopt.cpp
                                
                                 docopt.cpp copied to clipboard
                                
                                    docopt.cpp copied to clipboard
                            
                            
                            
                        An option description can be located after a new line
Sometimes if an option is too long, it looks better when its description starts on a new line.
Such behaviour is supported (though it is not documented) by the original docopt. A commit with corresponding test is requested to be pulled.
I think this is a great patch. However, the testcase file is copied verbatim from the docopt-py repo. Would you mind offering the testcase-only patch to that repo first? I'm willing to do it if you dont want to. The test case actually does pass the Python version but fails the C++ version -- which I think makes it a GREAT testcase.
As I wrote above, the commit for docopt-py is awaiting his destiny. I have prepared those commits simultaneously.
Moreover, the day before yesterday I have written directly to Vladimir @Keleshev about my two pull requests. But unfortunately, I have no reaction yet.
Is there an update on the status of this PR? I'm also interested by this feature.
I've posted a comment on the docopt mentioned by EVGVir. Hopefluly it'll get merged there, and then we can do it here :/
This actually doesn't quite work properly. -f and -b are added to the map instead of --foo and --bar. I really think this feature is useful for creating beautiful command-line interfaces!