Created
June 12, 2015 20:20
-
-
Save KMahoney/6cb25a1f5a01bbb610d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
let mut arglist = args().skip(1); | |
match arglist.next() { | |
Some(ref filename) if arglist.count() == 0 => run(filename), | |
_ => usage() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment