Implement RFC 1058

This commit is contained in:
Simonas Kazlauskas
2015-07-11 14:34:57 +03:00
parent 072d07ce9f
commit 7a90865db5
20 changed files with 110 additions and 77 deletions

View File

@@ -56,7 +56,7 @@
//! optopt("o", "", "set output file name", "NAME"),
//! optflag("h", "help", "print this help menu")
//! ];
//! let matches = match getopts(args.tail(), opts) {
//! let matches = match getopts(args[1..], opts) {
//! Ok(m) => { m }
//! Err(f) => { panic!(f.to_string()) }
//! };