stdlib: Only export what's necessary from std::getopts

This commit is contained in:
Brian Anderson 2011-05-21 19:30:04 -04:00
parent 264c3b5be4
commit c1a6c2e6c2

View File

@ -10,6 +10,27 @@
import option::some;
import option::none;
export opt;
export reqopt;
export optopt;
export optflag;
export optmulti;
export getopts;
export result;
export success;
export failure;
export fail_;
export fail_str;
export opt_present;
export opt_str;
export opt_strs;
export opt_maybe_str;
tag name { long(str); short(char); }
tag hasarg { yes; no; maybe; }
tag occur { req; optional; multi; }