From ed748a9b8c46d3885d8a1eb8de8ee10bdd41f9b0 Mon Sep 17 00:00:00 2001 From: Seednode Date: Thu, 19 Jan 2023 12:12:40 -0600 Subject: [PATCH] Corrected usage message --- README.md | 2 +- cmd/root.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 17ec7ab..deaa580 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ When accessed, this endpoint returns a JSON document listing every file served, ## Usage output ``` Usage: - roulette [path2]... [flags] + roulette [path]... [flags] roulette [command] Available Commands: diff --git a/cmd/root.go b/cmd/root.go index 9503f31..8fa71d4 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -33,7 +33,7 @@ var Sort bool var Verbose bool var rootCmd = &cobra.Command{ - Use: "roulette [path2]...", + Use: "roulette [path]...", Short: "Serves random images from the specified directories.", Args: cobra.MinimumNArgs(1), Run: func(cmd *cobra.Command, args []string) {