fix copy
This commit is contained in:
parent
93ed44c978
commit
dc8fdda949
2 changed files with 2 additions and 6 deletions
|
|
@ -21,11 +21,7 @@
|
||||||
.Nm
|
.Nm
|
||||||
compiles and renders
|
compiles and renders
|
||||||
.Ar file.d2
|
.Ar file.d2
|
||||||
to
|
to svg or png.
|
||||||
.Ar file.svg
|
|
||||||
or
|
|
||||||
.Ar png
|
|
||||||
.Ns .
|
|
||||||
.Pp
|
.Pp
|
||||||
Pass - to have
|
Pass - to have
|
||||||
.Nm
|
.Nm
|
||||||
|
|
|
||||||
|
|
@ -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 or png
|
%[1]s compiles and renders file.d2 to svg or 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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue