f88b6bdc5109ba09e45f4c19bc3ea14e51794cae

Author
fred-o <fredrik.appelberg@gmail.com>
Committer
Phil Eichinger <phil@zankapfel.net>
Date

Message

help command, node completion

Diff

This diff is truncated to protect this page.

 1diff --git a/plugins/glassfish/_asadmin b/plugins/glassfish/_asadmin
 2index 2ae6064e9a437bb90b1044887f60ffb760e8b540..b29d65d3b1e71157d507e5bb2e6a9782fd8defb7 100644
 3--- a/plugins/glassfish/_asadmin
 4+++ b/plugins/glassfish/_asadmin
 5@@ -144,6 +144,7 @@ _1st_arguments=(
 6     "get:gets the values of configurable or monitorable attributes"
 7     "get-client-stubs:retrieves the application JAR files needed to launch the application client."
 8     "get-health:provides information on the cluster health"
 9+    "help"
10     "asadmin:utility for performing administrative tasks for Oracle GlassFish Server"
11     "import-sync-bundle:imports the configuration data of a clustered instance or standalone instance from an archive file"
12     "install-node:installs GlassFish Server software on specified SSH-enabled hosts"
13@@ -278,632 +279,775 @@ fi
14 
15 local -a _command_args
16 case "$words[1]" in
17-	add-library)
18-		_command_args=('*:directory:_files' '--type+:type:(common ext app)')
19-	;;
20-	add-resources)
21-		_command_args=('*:directory:_files' '--target+:')
22-	;;
23-	apply-http-lb-changes)
24-		_command_args=('--ping+:')
25-	;;
26-	backup-domain)
27-		_command_args=('--backupconfig+:' '--backupdir+:' '--description+:' '--domaindir+:' '--long+:long:(true false)')
28-	;;
29-	change-admin-password)
30-		_command_args=('--domain_name+:' '--domaindir+:')
31-	;;
32-	change-master-password)
33-		_command_args=('--domaindir+:' '--nodedir+:' '--savemasterpassword+:savemasterpassword:(true false)')
34-	;;
35-	collect-log-files)
36-		_command_args=('--retrieve+:retrieve:(true false)' '--target+:')
37-	;;
38-	configure-jms-cluster)
39-		_command_args=('--clustertype+:' '--configstoretype+:' '--dburl+:' '--dbuser+:' '--dbvendor+:' '--jmsdbpassword+:' '--messagestoretype+:' '--property+:')
40-	;;
41-	configure-lb-weight)
42-		_command_args=('--cluster+:')
43-	;;
44-	configure-ldap-for-admin)
45-		_command_args=('--basedn+:' '--ldap-group+:' '--target+:' '--url+:')
46-	;;
47-	copy-config)
48-		_command_args=('--systemproperties+:')
49-	;;
50-	create-admin-object)
51-		_command_args=('--classname+:' '--description+:' '--enabled+:enabled:(true false)' '--property+:' '--raname+:' '--restype+:' '--target+:')
52-	;;
53-	create-application-ref)
54-		_command_args=('--enabled+:enabled:(true false)' '--lbenabled+:lbenabled:(true false)' '--target+:' '--virtualservers+:')
55-	;;
56-	create-audit-module)
57-		_command_args=('--classname+:' '--property+:' '--target+:')
58-	;;
59-	create-auth-realm)
60-		_command_args=('--classname+:' '--property+:' '--target+:')
61-	;;
62-	create-connector-connection-pool)