Modified usage info

This commit is contained in:
Seednode 2022-09-16 14:57:40 -05:00
parent 31f138d9ec
commit 103f8cb456
3 changed files with 3 additions and 4 deletions

View File

@ -15,7 +15,7 @@ Builds available [here](https://cdn.seedno.de/builds/roulette).
## Usage output
```
Usage:
roulette <path1> [path2] ... [pathN] [flags]
roulette <path> [path2]... [flags]
roulette [command]
Available Commands:
@ -28,7 +28,6 @@ Flags:
-p, --port int port to listen on (default 8080)
-r, --recursive recurse into subdirectories
-v, --verbose log accessed files to stdout
--version version for roulette
Use "roulette [command] --help" for more information about a command.
```

View File

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

View File

@ -10,7 +10,7 @@ import (
"github.com/spf13/cobra"
)
var Version = "0.6.2"
var Version = "0.6.3"
func init() {
rootCmd.AddCommand(versionCmd)