print version when using -v switch alone