Implement RFC 1058
This commit is contained in:
parent
072d07ce9f
commit
7a90865db5
20 changed files with 110 additions and 77 deletions
|
@ -29,7 +29,6 @@
|
|||
#![feature(path_relative_from)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(set_stdio)]
|
||||
#![feature(slice_extras)]
|
||||
#![feature(slice_patterns)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(subslice_offset)]
|
||||
|
@ -192,7 +191,7 @@ pub fn usage(argv0: &str) {
|
|||
}
|
||||
|
||||
pub fn main_args(args: &[String]) -> isize {
|
||||
let matches = match getopts::getopts(args.tail(), &opts()) {
|
||||
let matches = match getopts::getopts(&args[1..], &opts()) {
|
||||
Ok(m) => m,
|
||||
Err(err) => {
|
||||
println!("{}", err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue