Browse Source

Use the right name

master
Dylan Baker 5 years ago
parent
commit
a30fde53e2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/cli.rs

+ 1
- 1
src/cli.rs View File

@@ -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 {

Loading…
Cancel
Save