Fix printusage()

Allow printusage() to use the used program's name in the printed output
to allow for better examples