Corrected usage message

This commit is contained in:
Seednode 2023-01-19 12:12:40 -06:00
parent 1a4496b788
commit ed748a9b8c
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ When accessed, this endpoint returns a JSON document listing every file served,
## Usage output ## Usage output
``` ```
Usage: Usage:
roulette <path> [path2]... [flags] roulette <path> [path]... [flags]
roulette [command] roulette [command]
Available Commands: Available Commands:

View File

@ -33,7 +33,7 @@ var Sort bool
var Verbose bool var Verbose bool
var rootCmd = &cobra.Command{ var rootCmd = &cobra.Command{
Use: "roulette <path> [path2]...", Use: "roulette <path> [path]...",
Short: "Serves random images from the specified directories.", Short: "Serves random images from the specified directories.",
Args: cobra.MinimumNArgs(1), Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {