cvraut / whecho

linux echo but with webhooks! ⚓
MIT License
4 stars 0 forks source link

whecho: error: unrecognized arguments #5

Closed wndyy closed 8 months ago

wndyy commented 8 months ago

Used whecho command follow by argument "let's see if this works" and got an error.

whecho let's see if this works
usage: whecho [-h] [--version] [-m MSG] [--init] [-u URL] [-d] [message]
whecho: error: unrecognized arguments: see if this works

I expected to see the message "let's see if this works" in my server.

cvraut commented 8 months ago

whecho only takes one positional argument for now, surround your request with quotes like

whecho "let's see if this works"

cvraut commented 8 months ago

just released version 0.0.4

I updated whecho to allow for variable number of positional arguments. Try it now & lmk if it works

wndyy commented 8 months ago

works as expected. thanks.