base64_convert: added flags to converts and flags to command line tool