: <i>namespace ensemble subcommands with the empty string for a name</i> plus 7 other changes
by
.
D 2017-05-02T10:31:01.431
J closedate 2457875.93821101
J closer dkf
J icomment The\sbehaviour\syou\sdescribe\sis\scorrect.\sThere\sis\sno\sbug.\r\n<p>\r\nWhen\san\sensemble\shas\san\sempty\s<tt>-map</tt>\s(and\sempty\s<tt>-subcommands</tt>\slist),\sit\suses\sthe\sexported\scommands\sof\sthe\snamespace\sas\sthe\sset\sof\ssubcommands.\sWhen\san\sensemble\shas\sa\snon-empty\s<tt>-map</tt>,\sit\suses\sthe\skeys\sof\sthat\smap\sto\sdetermine\swhat\sthe\sset\sof\ssubcommands\sis.\s<i>In\sboth\scases</i>,\sit\sthen\sfinds\swhether\sthere\sis\san\sexact\smatch\sfor\sthe\ssubcommand\sname\sagainst\sits\sset\sof\spossible\ssubcommands,\sand\sif\sthere\sis\sno\sexact\smatch\sand\sthe\s<tt>-prefix</tt>\soption\sis\strue\s(the\sdefault),\sthen\ssees\swhether\sthe\sprovided\ssubcommand\sname\sis\sa\sprefix\sof\sexactly\sone\ssubcommand\sname.\s(If\sthere's\stwo\sor\smore\ssubcommands\sthat\scould\smatch,\sthat's\san\serror.\sThe\sempty\sstring\sis\sa\sprefix\sof\sall\sother\sstrings\sof\scourse.)
J login dkf
J mimetype text/html
J resolution Invalid
J status Closed
J username dkf
K f27930150a84a15b8becb835dae45674fa41b0c5
U dkf
Z 1ef2617702758afc99541b4d19ead9f6