print all versions when -a is used