handle flags with either ' ' or '=' separating the value

instead of only handling '='
add -h and --help options that print the help text