Skip to content
Snippets Groups Projects
Unverified Commit 85fb9eaa authored by axel simon's avatar axel simon Committed by GitHub
Browse files

Small improvement to help message. (#218)


Signed-off-by: default avataraxelsimon <github@axelsimon.net>
parent 3a989f96
No related branches found
No related tags found
No related merge requests found
......@@ -33,13 +33,10 @@ var logType string
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "rekor-server",
Short: "A brief description of your application",
Long: `A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`,
Short: "Rekor signature transparency log server",
Long: `Rekor fulfills the signature transparency role of sigstore's software
signing infrastructure. It can also be run on its own and is designed to be
extensible to work with different manifest schemas and PKI tooling`,
// Uncomment the following line if your bare application
// has an action associated with it:
// Run: func(cmd *cobra.Command, args []string) { },
......
......@@ -51,8 +51,8 @@ const rekorSthBucketEnv = "REKOR_STH_BUCKET"
// watchCmd represents the serve command
var watchCmd = &cobra.Command{
Use: "watch",
Short: "start a process to watch and record STH's from Rekor",
Long: `start a process to watch and record STH's from Rekor`,
Short: "Start a process to watch and record STH's from Rekor",
Long: `Start a process to watch and record STH's from Rekor`,
PreRun: func(cmd *cobra.Command, args []string) {
// these are bound here so that they are not overwritten by other commands
if err := viper.BindPFlags(cmd.Flags()); err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment