瀏覽代碼

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>,