소스 검색

Use the right name

master
Dylan Baker 5 년 전
부모
커밋
a30fde53e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/cli.rs

+ 1
- 1
src/cli.rs 파일 보기

@@ -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…
취소
저장