From 8223a4a1695244ccdea76dc90a46f88149a9916d Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Fri, 16 Aug 2024 16:27:12 +0200 Subject: [PATCH] wrong place? --- cmds/ocm/commands/toicmds/config/bootstrap/cmd.go | 2 +- cmds/ocm/commands/verbs/describe/cmd.go | 2 +- docs/reference/ocm_bootstrap_configuration.md | 3 +-- docs/reference/ocm_describe_package.md | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/cmds/ocm/commands/toicmds/config/bootstrap/cmd.go b/cmds/ocm/commands/toicmds/config/bootstrap/cmd.go index bd0da155d5..8f2082d02e 100644 --- a/cmds/ocm/commands/toicmds/config/bootstrap/cmd.go +++ b/cmds/ocm/commands/toicmds/config/bootstrap/cmd.go @@ -87,7 +87,7 @@ $ ocm toi bootstrap config ghcr.io/mandelsoft/ocm//ocmdemoinstaller:0.0.1-dev `, Annotations: map[string]string{"ExampleCodeStyle": "bash"}, } - cmd.AddCommand(topicbootstrap.New(o.Context, "toi-bootstrapping")) + cmd.AddCommand(utils.DocuCommandPath(topicbootstrap.New(o.Context, "toi-bootstrapping"), "ocm")) return cmd } diff --git a/cmds/ocm/commands/verbs/describe/cmd.go b/cmds/ocm/commands/verbs/describe/cmd.go index b8c33410eb..b181ad5f53 100644 --- a/cmds/ocm/commands/verbs/describe/cmd.go +++ b/cmds/ocm/commands/verbs/describe/cmd.go @@ -20,6 +20,6 @@ func NewCommand(ctx clictx.Context) *cobra.Command { cmd.AddCommand(resources.NewCommand(ctx)) cmd.AddCommand(plugins.NewCommand(ctx)) cmd.AddCommand(cache.NewCommand(ctx)) - cmd.AddCommand(utils.DocuCommandPath(_package.NewCommand(ctx), "ocm")) + cmd.AddCommand(_package.NewCommand(ctx)) return cmd } diff --git a/docs/reference/ocm_bootstrap_configuration.md b/docs/reference/ocm_bootstrap_configuration.md index 91eb4e4b04..15d6d3c9b2 100644 --- a/docs/reference/ocm_bootstrap_configuration.md +++ b/docs/reference/ocm_bootstrap_configuration.md @@ -111,11 +111,10 @@ $ ocm toi bootstrap config ghcr.io/mandelsoft/ocm//ocmdemoinstaller:0.0.1-dev ##### Additional Help Topics -* [ocm bootstrap configuration toi-bootstrapping](ocm_bootstrap_configuration_toi-bootstrapping.md) — Tiny OCM Installer based on component versions +* [ocm toi-bootstrapping](ocm_toi-bootstrapping.md) — Tiny OCM Installer based on component versions ##### Additional Links -* [ocm toi-bootstrapping](ocm_toi-bootstrapping.md) — Tiny OCM Installer based on component versions * [ocm bootstrap package](ocm_bootstrap_package.md) — bootstrap component version diff --git a/docs/reference/ocm_describe_package.md b/docs/reference/ocm_describe_package.md index 38c1cdbf9f..e969c62d24 100644 --- a/docs/reference/ocm_describe_package.md +++ b/docs/reference/ocm_describe_package.md @@ -26,7 +26,7 @@ Describe a TOI package provided by a resource of an OCM component version. The package resource must have the type toiPackage. This is a simple YAML file resource describing the bootstrapping of a dedicated kind -of software. See also the topic [ocm toi toi-bootstrapping](ocm_toi_toi-bootstrapping.md). +of software. See also the topic [ocm toi-bootstrapping](ocm_toi-bootstrapping.md). The first matching resource of this type is selected. Optionally a set of identity attribute can be specified used to refine the match. This can be the @@ -107,5 +107,5 @@ $ ocm toi describe package ghcr.io/mandelsoft/ocm//ocmdemoinstaller:0.0.1-dev ##### Additional Links -* [ocm toi toi-bootstrapping](ocm_toi_toi-bootstrapping.md) +* [ocm toi-bootstrapping](ocm_toi-bootstrapping.md) — Tiny OCM Installer based on component versions