Update optparse.bash

rpad causes an error on my Ubuntu system. Using printf equivalent.