Tidy up command descriptions

Rewordings and removal of superfluous newlines.

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals
2021-03-26 10:16:38 +01:00
parent 1b2ffad2f1
commit 236ffd1767
179 changed files with 161 additions and 354 deletions

View File

@ -36,14 +36,15 @@ var rootCmd = &cobra.Command{
SilenceUsage: true,
SilenceErrors: true,
Short: "Command line utility for assembling Kubernetes CD pipelines",
Long: `Command line utility for assembling Kubernetes CD pipelines the GitOps way.`,
Long: `
Command line utility for assembling Kubernetes CD pipelines the GitOps way.`,
Example: ` # Check prerequisites
flux check --pre
# Install the latest version of Flux
flux install --version=master
# Create a source from a public Git repository
# Create a source for a public Git repository
flux create source git webapp-latest \
--url=https://github.com/stefanprodan/podinfo \
--branch=master \
@ -88,8 +89,7 @@ var rootCmd = &cobra.Command{
flux delete source git webapp-latest
# Uninstall Flux and delete CRDs
flux uninstall
`,
flux uninstall`,
}
var logger = stderrLogger{stderr: os.Stderr}