From 8b53a86345b418b3f08e622e2eaac947b26242c2 Mon Sep 17 00:00:00 2001 From: Bernard Xie Date: Mon, 21 Nov 2022 11:02:17 -0800 Subject: [PATCH] Switch , to | --- ci/release/template/man/d2.1 | 2 +- cmd/d2/help.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/release/template/man/d2.1 b/ci/release/template/man/d2.1 index 4a5ca14fc..a5407102c 100644 --- a/ci/release/template/man/d2.1 +++ b/ci/release/template/man/d2.1 @@ -25,7 +25,7 @@ compiles and renders .Ar file.d2 to .Ar file.svg -, +| .Ar file.png .Ns . .Pp diff --git a/cmd/d2/help.go b/cmd/d2/help.go index 33ac3ad16..98390495d 100644 --- a/cmd/d2/help.go +++ b/cmd/d2/help.go @@ -17,7 +17,7 @@ func help(ms *xmain.State) { fmt.Fprintf(ms.Stdout, `Usage: %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. Flags: