Subject: | Automatically show default values in usage? |
I think it would be really nice if G::L::D could be configured to
automatically print an option's default if it is defined.
Definition:
[ 'port|p=i', "the port to connect to", { default => 79 } ],
So instead of
-p --port the port to connect to
it would print
-p --port the port to connect to
(default: 79)
It's probably a good idea to make this configureable so you have to
manually enable this feature. (Keep current behaviour as default.)