git-identity
git-identity copied to clipboard
Manage your identity in Git
Best practice for setting custom config variables is to make sure it starts with the name of your tool, and to never reuse generic config namespaces unless it's an agreed...
Add the -h|--help option. Fix a mistake with setting up the HEREDOC. Add an error message on stderr when the wrong number of arguments are detected, rather than just printing...
In the `USAGE` variable, the help message is: ``` [-d | --define] [] [] or: git identity [--define-gpg] or: git identity [--define-ssh] [] or: git identity [-p | --print] []...
Almost every tool supports `-h` and/or `--help` as an option to print a brief of the options (i.e. what your `USAGE` variable contains). While you have a man page that...
The help text is written to a variable `USAGE`, but that variable is never referenced anywhere. It looks like the `check_arguments` function meant to `echo "$USAGE"` (or something like that),...