stdlib: Only export what's necessary from std::getopts
This commit is contained in:
parent
264c3b5be4
commit
c1a6c2e6c2
1 changed files with 21 additions and 0 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue