We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bcf911 commit 983269eCopy full SHA for 983269e
src/libextra/getopts.rs
@@ -31,8 +31,8 @@
31
* file name following -o, and accepts both -h and --help as optional flags.
32
*
33
* ```
34
- * extern mod std;
35
- * use std::getopts::*;
+ * extern mod extra;
+ * use extra::getopts::*;
36
37
* fn do_work(in: &str, out: Option<~str>) {
38
* io::println(in);
@@ -42,7 +42,7 @@
42
* });
43
* }
44
45
- * fn print_usage(program: &str, _opts: &[std::getopts::Opt]) {
+ * fn print_usage(program: &str, _opts: &[extra::getopts::Opt]) {
46
* io::println(fmt!("Usage: %s [options]", program));
47
* io::println("-o\t\tOutput");
48
* io::println("-h --help\tUsage");
0 commit comments