properly parse -h & --help flags

fix #12