This commit is contained in:
Alexander Wang 2022-12-30 13:22:45 -08:00
parent 85e87c8c2c
commit 09ca0c5b03
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE
2 changed files with 3 additions and 3 deletions

View file

@ -82,7 +82,7 @@ Print version information and exit.
.It Ar layout
Lists available layout engine options with short help.
.It Ar layout Op Ar name
Display long help for a particular layout engine.
Display long help for a particular layout engine, including its configuration options.
.It Ar fmt Ar file.d2
Format
.Ar file.d2

View file

@ -32,7 +32,7 @@ Flags:
Subcommands:
%[1]s layout - Lists available layout engine options with short help
%[1]s layout [name] - Display long help for a particular layout engine
%[1]s layout [name] - Display long help for a particular layout engine, including its configuration options
%[1]s fmt file.d2 - Format file.d2
See more docs and the source code at https://oss.terrastruct.com/d2
@ -75,7 +75,7 @@ Example:
D2_LAYOUT=dagre d2 in.d2 out.svg
Subcommands:
%s layout [layout name] - Display long help for a particular layout engine
%s layout [layout name] - Display long help for a particular layout engine, including its configuration options
See more docs at https://oss.terrastruct.com/d2
`, strings.Join(pluginLines, "\n"), ms.Name)