diff options
-rwxr-xr-x | src/java-config-2 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/java-config-2 b/src/java-config-2 index a2a4d09..bf74a2a 100755 --- a/src/java-config-2 +++ b/src/java-config-2 @@ -142,11 +142,18 @@ def list_available_vms(option, opt, value, parser): printer._print('%HThe following VMs are available for generation-2:%$') for i, vm in vm_list.iteritems(): - if not vm.is_build_only(): - if vm is active: - printer._print('%G' + '*)\t%s [%s]%s' % (vm.query('VERSION'), vm.name(), '%$')) - else: + if vm is active: + printer._print('%G' + '*)\t%s [%s]%s' % (vm.query('VERSION'), vm.name(), '%$')) + else: + if not vm.is_build_only(): printer._print('%i)\t%s [%s]' % (i, vm.query('VERSION'), vm.name())) + else: + printer._print('%i)\t%s [%s]' % (i, vm.query('VERSION'), vm.name()) + '%r (Build Only)') + + printer._print('') + printer._print('%r' + 'VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL.') + printer._print('%r' + 'Gentoo recommends not setting these VMs as either your System or User VM.') + printer._print('%r' + 'Please see http://www.gentoo.org/doc/en/java.xml#build-only for more information') def print_environment(option, opt, value, parser): vm = manager.get_vm(value) |