robusta-dev / krr

Prometheus-based Kubernetes Resource Recommendations
MIT License
3.05k stars 160 forks source link

--help argument treated as valid for --slackoutput #345

Open dwilliams782 opened 1 month ago

dwilliams782 commented 1 month ago

Describe the bug Nice simple one where an image speaks a thousand words:

image

I was trying to find out more details on the --slackoutput expected input and instead --help is treated as a valid parameter for --slackoutput.

To Reproduce Steps to reproduce the behavior:

  1. krr simple --slackoutput --help

Expected behavior Help function to be called instead of simple command executing.

Desktop (please complete the following information):

aantn commented 1 month ago

Hi @dwilliams782, thanks for reporting. We're using typer for the cli args and I'm not sure we have an easy fix for this. If anyone is familiar with a typer setting that would help, please chime in!