Explorar el Código

Use the right name

master
Dylan Baker hace 5 años
padre
commit
a30fde53e2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/cli.rs

+ 1
- 1
src/cli.rs Ver fichero

@@ -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…
Cancelar
Guardar