diff --git a/ci/release/template/man/d2.1 b/ci/release/template/man/d2.1 index 918828661..6d548cb0f 100644 --- a/ci/release/template/man/d2.1 +++ b/ci/release/template/man/d2.1 @@ -21,11 +21,7 @@ .Nm compiles and renders .Ar file.d2 -to -.Ar file.svg -or -.Ar png -.Ns . +to svg or png. .Pp Pass - to have .Nm diff --git a/cmd/d2/help.go b/cmd/d2/help.go index ba80bc50a..69e33bb98 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 or png +%[1]s compiles and renders file.d2 to svg or png. Use - to have d2 read from stdin or write to stdout. Flags: