Ver Fonte

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

Carlos Diaz-Padron há 2 meses atrás
pai
commit
1a3df9d863
1 ficheiros alterados com 1 adições e 1 exclusões
  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>,