Remove CLI usage comment
This commit is contained in:
parent
32aed1689b
commit
024e51e60d
22
src/main.rs
22
src/main.rs
|
@ -6,28 +6,6 @@ use std::path::{PathBuf, Path};
|
|||
use std::{io, fs};
|
||||
use rand::seq::SliceRandom;
|
||||
|
||||
/*
|
||||
Usage:
|
||||
roulette <path> [path2]... [flags]
|
||||
roulette [command]
|
||||
|
||||
Available Commands:
|
||||
completion Generate the autocompletion script for the specified shell
|
||||
help Help about any command
|
||||
version Print version
|
||||
|
||||
Flags:
|
||||
-c, --cache only scan directories once, at startup (incompatible with --filter)
|
||||
-f, --filter enable filtering via query parameters (incompatible with --cache)
|
||||
-h, --help help for roulette
|
||||
-p, --port uint16 port to listen on (default 8080)
|
||||
-r, --recursive recurse into subdirectories
|
||||
-s, --sort enable sorting via query parameters
|
||||
-v, --verbose log accessed files to stdout
|
||||
|
||||
Use "roulette [command] --help" for more information about a command.
|
||||
*/
|
||||
|
||||
/// Simple program to greet a person
|
||||
#[derive(Parser, Debug)]
|
||||
#[command(author, version, about)]
|
||||
|
|
Loading…
Reference in New Issue