add -A as an alias for --no-addresses

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12393 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2003-06-23 11:38:22 +00:00
parent 4b37d153b9
commit 7eb7222d36

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997-2002 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997-2003 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -60,6 +60,15 @@ int convert_524;
int fcache_version;
static struct getargs args[] = {
/*
* used by MIT
* a: ~A
* V: verbose
* F: ~f
* P: ~p
* C: v4 cache name?
* 5:
*/
#ifdef KRB4
{ "524init", '4', arg_flag, &get_v4_tgt,
"obtain version 4 TGT" },
@@ -112,7 +121,7 @@ static struct getargs args[] = {
{ "fcache-version", 0, arg_integer, &fcache_version,
"file cache version to create" },
{ "addresses", 0, arg_negative_flag, &addrs_flag,
{ "addresses", 'A', arg_negative_flag, &addrs_flag,
"request a ticket with no addresses" },
{ "extra-addresses",'a', arg_strings, &extra_addresses,