{"push_id":2743565589,"size":1,"distinct_size":1,"ref":"refs/heads/bf-short-opt","head":"6b3f2fffe32116320cac8a6dfb43a10bc7d84e74","before":"8455213243f3ae0bd2a0ec447c6701c18c67ab79","commits":[{"sha":"6b3f2fffe32116320cac8a6dfb43a10bc7d84e74","author":{"name":"Kyle Meyer","email":"3c25b01657254677d3e1a8fd1f0742c5d489bd39@kyleam.com"},"message":"BF: cmdline: Restore handling of short options\n\nWe fail to parse combined short options (e.g., 'datalad -ar') and\nshort option/value pairs with no space (e.g., 'datalad -l1 ...) as of\nbe49a95dd (ENH: cmdline: Disable abbreviations for long options,\n2018-05-24).  That commit overrides _get_option_tuples so that it\nunconditionally returns an empty list.  Unfortunately, in addition to\ndisabling abbreviations, that swallows combined short options.\nInstead, perform the same check that ArgumentParser._get_option_tuples\ndoes to distinguish long flags from combined short options, and only\nreturn an empty list in the long flag case.\n\nFixes #2709.","distinct":true,"url":"https://api.github.com/repos/kyleam/datalad/commits/6b3f2fffe32116320cac8a6dfb43a10bc7d84e74"}]}
{"actor":{"display_login":"kyleam"}}