Subject: | Show whether an option requires an argument in usage |
It would be nice if the usage can show whether an option requires an
argument. For example:
Definition:
[ 'port|p=i', "the port to connect to" ],
So instead of
-p --port the port to connect to
it would print
-p --port arg the port to connect to
Adding the "arg" would make the usage more informative to the users.
It would be nice if this behavior is configurable by providing an option
to the describe_options() call.