فهرست منبع

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