view distribution/config/commands/connect.properties @ 652:e88742733601

Move command option definitions into properties file Reviewed-by: omajid Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-September/003493.html
author Jon VanAlten <vanaltj@gmail.com>
date Tue, 02 Oct 2012 17:43:39 -0400
parents 205565370bab
children
line wrap: on
line source

# ConnectCommand is provided by the tools bundle, which is a bootstrap bundle, and requires no other bundles.
bundles =

description = persistently connect to a database

usage = connect -d <url> [-u <username>] [-p <password>]

options = dbUrl, username, password

dbUrl.short = d
dbUrl.long = dbUrl
dbUrl.hasarg = true
dbUrl.required = true
dbUrl.description = the URL of the storage to connect to

username.short = u
username.long = username
username.hasarg = true
username.required = false
username.description = the username to use for authentication

password.short = p
password.long = password
password.hasarg = true
password.required = false
password.description = the password to use for authentication