mirrorbits icon indicating copy to clipboard operation
mirrorbits copied to clipboard

mirrorbits-del-stats: allow passing the host to redis-cli

Open lazka opened this issue 1 year ago • 2 comments

Passing the host to redis-cli is only possible via the "-h" switch, which clashes with the "-h" interpreted as "--help" in the script.

Make "--" stop the argument parsing, so "-h" can be forwarded to redis-cli:

mirrorbits-del-stats daily:30 monthly:12 -- -h redis

lazka avatar Apr 27 '24 07:04 lazka

@elboulangero

lazka avatar Apr 27 '24 07:04 lazka

Looks good, thank you!

elboulangero avatar Apr 29 '24 03:04 elboulangero

thanks!

lazka avatar Jun 08 '24 10:06 lazka