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