Merge pull request #2336 from leverimmy/fix-typo

chore: fix a typo
This commit is contained in:
Alexander Wang 2025-02-12 18:08:19 -08:00 committed by GitHub
commit f51f5ad13b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,7 +50,7 @@ import (
func Run(ctx context.Context, ms *xmain.State) (err error) { func Run(ctx context.Context, ms *xmain.State) (err error) {
ctx = log.WithDefault(ctx) ctx = log.WithDefault(ctx)
// These should be kept up-to-date with the d2 man page // These should be kept up-to-date with the d2 man page
watchFlag, err := ms.Opts.Bool("D2_WATCH", "watch", "w", false, "watch for changes to input and live reload. Use $HOST and $PORT to specify the listening address.\n(default localhost:0, which is will open on a randomly available local port).") watchFlag, err := ms.Opts.Bool("D2_WATCH", "watch", "w", false, "watch for changes to input and live reload. Use $HOST and $PORT to specify the listening address.\n(default localhost:0, which will open on a randomly available local port).")
if err != nil { if err != nil {
return err return err
} }