@@ -6,7 +6,7 @@ use crate::client::create_gist;
pub fn new_gist(matches: &ArgMatches) -> io::Result<()> {
let title = matches.value_of("title").unwrap();
- let input = matches.value_of("input");
+ let input = matches.value_of("file");
let filetype = matches.value_of("filetype");
let mut rdr: Box<io::Read> = match input {