Switch , to |

This commit is contained in:
Bernard Xie 2022-11-21 11:02:17 -08:00
parent e8340ff610
commit 8b53a86345
No known key found for this signature in database
GPG key ID: 3C3E0036CE0F892C
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ compiles and renders
.Ar file.d2 .Ar file.d2
to to
.Ar file.svg .Ar file.svg
, |
.Ar file.png .Ar file.png
.Ns . .Ns .
.Pp .Pp

View file

@ -17,7 +17,7 @@ func help(ms *xmain.State) {
fmt.Fprintf(ms.Stdout, `Usage: fmt.Fprintf(ms.Stdout, `Usage:
%s [--watch=false] [--theme=0] file.d2 [file.svg|file.png] %s [--watch=false] [--theme=0] file.d2 [file.svg|file.png]
%[1]s compiles and renders file.d2 to file.svg, file.png. %[1]s compiles and renders file.d2 to file.svg|file.png.
Use - to have d2 read from stdin or write to stdout. Use - to have d2 read from stdin or write to stdout.
Flags: Flags: