UsergeTeam / Userge-Plugins

Plugins for Userge
https://userge.tech
GNU General Public License v3.0
135 stars 328 forks source link

Domain Doesn't Show Available Flag Options #293

Closed r1337x closed 2 years ago

r1337x commented 2 years ago

Attempt to display the available flag options for the command .domain

Doing .help domain does not show the available flag options and doing .domain executes the command & throws an error as the user did not specify any flags.

This is an attemp to correct this by letting the user know a flag is required, as well as the options available.

(This probably can be done better but works for now)

pep8speaks commented 2 years ago

@r1337x, Thanks for updating this PR.

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2022-05-12 00:47:22 UTC
r1337x commented 2 years ago

@Harsh-br0 can sort this out

Krishna-Singhal commented 2 years ago

Flags are already written there, why do we need to write again in function docstring ? Also command will show error message if user used invalid flag