add flag to print version and revision number