From 31c5b729c99cd996581f0acfaeb45052651595e6 Mon Sep 17 00:00:00 2001 From: Fabian Burth Date: Fri, 13 Dec 2024 10:32:05 +0100 Subject: [PATCH] docs: adjust tests to changed help template --- cmds/cliplugin/cmds/cmd_test.go | 4 ++-- cmds/subcmdplugin/cmds/cmd_test.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmds/cliplugin/cmds/cmd_test.go b/cmds/cliplugin/cmds/cmd_test.go index 50671fa3e..6c374be6b 100644 --- a/cmds/cliplugin/cmds/cmd_test.go +++ b/cmds/cliplugin/cmds/cmd_test.go @@ -86,7 +86,7 @@ ocm check rhubarb — Determine Whether We Are In Rhubarb Season Synopsis: ocm check rhubarb -Flags: +Options: -d, --date string the date to ask for (MM/DD) -h, --help help for check @@ -106,7 +106,7 @@ ocm check rhubarb — Determine Whether We Are In Rhubarb Season Synopsis: ocm check rhubarb -Flags: +Options: -d, --date string the date to ask for (MM/DD) -h, --help help for check diff --git a/cmds/subcmdplugin/cmds/cmd_test.go b/cmds/subcmdplugin/cmds/cmd_test.go index 240349caa..be338733e 100644 --- a/cmds/subcmdplugin/cmds/cmd_test.go +++ b/cmds/subcmdplugin/cmds/cmd_test.go @@ -64,7 +64,7 @@ Synopsis: Available Commands: demo a demo command -Flags: +Options: -h, --help help for group Description: @@ -83,7 +83,7 @@ ocm group demo — A Demo Command Synopsis: ocm group demo [flags] -Flags: +Options: -h, --help help for demo --version string some overloaded option @@ -107,7 +107,7 @@ Synopsis: Available Commands: demo a demo command -Flags: +Options: -h, --help help for group Description: @@ -126,7 +126,7 @@ ocm group demo — A Demo Command Synopsis: ocm group demo [flags] -Flags: +Options: -h, --help help for demo --version string some overloaded option