Add style improvements
Add style improvements

Function-local variables, instead of script-local variables, should
be used here.  In addition, "empty()" is a better choice for testing
for the absence of an argument.  Finally, the use of "else" is
removed.

The docstring is also updated to include the new argument.

tschundler/dotfiles,tschundler/dotfiles,tschundler/dotfiles