make get -l the default again, and add column selection flag; sync

list with get


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14001 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2004-06-27 15:09:11 +00:00
parent 9929f779ec
commit fd5ddd5f3c

View File

@@ -30,6 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
/* $Id$ */
command = { command = {
name = "stash" name = "stash"
@@ -221,11 +222,13 @@ command = {
name = "get" name = "get"
name = "get_entry" name = "get_entry"
function = "get_entry" function = "get_entry"
/* XXX sync options with "list" */
option = { option = {
long = "long" long = "long"
short = "l" short = "l"
type = "flag" type = "flag"
help = "long format" help = "long format"
default = "-1"
} }
option = { option = {
long = "short" long = "short"
@@ -239,6 +242,12 @@ command = {
type = "flag" type = "flag"
help = "terse format" help = "terse format"
} }
option = {
long = "column-info"
short = "o"
type = "string"
help = "columns to print for short output"
}
argument = "principal..." argument = "principal..."
help = "Shows information about principals matching the expressions." help = "Shows information about principals matching the expressions."
} }
@@ -300,6 +309,7 @@ command = {
command = { command = {
name = "list" name = "list"
function = "list_princs" function = "list_princs"
/* XXX sync options with "get" */
option = { option = {
long = "long" long = "long"
short = "l" short = "l"
@@ -317,6 +327,13 @@ command = {
short = "t" short = "t"
type = "flag" type = "flag"
help = "terse format" help = "terse format"
default = "-1"
}
option = {
long = "column-info"
short = "o"
type = "string"
help = "columns to print for short output"
} }
argument = "principal..." argument = "principal..."
help = "Lists principals in a terse format. Equivalent to \"get -t\"." help = "Lists principals in a terse format. Equivalent to \"get -t\"."