nomardt / OpenAI-Search

SAY NO TO BROWSERS THAT GOBBLE YOUR RAM LIKE IT'S CANDY!!!
MIT License
4 stars 2 forks source link

Incorrect prompt recognition when using a hyphen in it #15

Open nomardt opened 1 year ago

nomardt commented 1 year ago
usage: main.py [-h] [-t temperature] [-k OpenAI API key] [-i] [-n images number] [prompt ...]
main.py: error: unrecognized arguments: -l do
Command unrecognized: 2 
Write -h to see usage or exit to exit
LagrangeH commented 1 year ago

What is the essence of this issue?

nomardt commented 1 year ago

Screenshot at 2023-01-29 07-00-15 You cant type in anything right after dash. And interactive mode was meant for text only, there is no need for ANY switches.

LagrangeH commented 1 year ago

This issue is not limited to interactive mode.