소스 검색

add some CLI docs for stdin file input to fmt command (#3934)

Carlos Diaz-Padron 2 달 전
부모
커밋
1a3df9d863
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/cli/src/cli/autoformat.rs

+ 1 - 1
packages/cli/src/cli/autoformat.rs

@@ -24,7 +24,7 @@ pub(crate) struct Autoformat {
     #[clap(short, long)]
     pub(crate) raw: Option<String>,
 
-    /// Input file
+    /// Input file at path (set to "-" to read file from stdin, and output formatted file to stdout)
     #[clap(short, long)]
     pub(crate) file: Option<String>,