Ver código fonte

Use the right name

master
Dylan Baker 5 anos atrás
pai
commit
a30fde53e2
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/cli.rs

+ 1
- 1
src/cli.rs Ver arquivo

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

Carregando…
Cancelar
Salvar