From 4d87d5c2d3ed0b7e2daf58674783e4c96df47250 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 5 Mar 2025 17:36:22 -0500 Subject: [PATCH] Fix registry serve synopsis --- cmd/crane/cmd/serve.go | 2 +- cmd/crane/doc/crane_registry_serve.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/crane/cmd/serve.go b/cmd/crane/cmd/serve.go index c375d648e..8da9f437e 100644 --- a/cmd/crane/cmd/serve.go +++ b/cmd/crane/cmd/serve.go @@ -46,7 +46,7 @@ func newCmdServe() *cobra.Command { The command blocks while the server accepts pushes and pulls. -Contents are can be stored in memory (when the process exits, pushed data is lost.), and disk (--disk).`, +Contents can be stored in memory (when the process exits, pushed data is lost) or to disk (--disk).`, Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, _ []string) error { ctx := cmd.Context() diff --git a/cmd/crane/doc/crane_registry_serve.md b/cmd/crane/doc/crane_registry_serve.md index a411e5c22..210d89d2e 100644 --- a/cmd/crane/doc/crane_registry_serve.md +++ b/cmd/crane/doc/crane_registry_serve.md @@ -8,7 +8,7 @@ This sub-command serves a registry implementation on an automatically chosen por The command blocks while the server accepts pushes and pulls. -Contents are can be stored in memory (when the process exits, pushed data is lost.), and disk (--disk). +Contents can be stored in memory (when the process exits, pushed data is lost) or to disk (--disk). ``` crane registry serve [flags]