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