summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/appl/ftp/ftp/main.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2008-05-07 13:39:42 +0000
committerdfr <dfr@FreeBSD.org>2008-05-07 13:39:42 +0000
commit51b6601db456e699ea5d4843cbc7239ee92d9c13 (patch)
tree4dbb862199a916e3ffe75f1cb08703ec0e662ffc /crypto/heimdal/appl/ftp/ftp/main.c
parent2565fa13487d5bfc858144e431e3dfd7ffa5200e (diff)
downloadFreeBSD-src-51b6601db456e699ea5d4843cbc7239ee92d9c13.zip
FreeBSD-src-51b6601db456e699ea5d4843cbc7239ee92d9c13.tar.gz
Vendor import of Heimdal 1.1
Diffstat (limited to 'crypto/heimdal/appl/ftp/ftp/main.c')
-rw-r--r--crypto/heimdal/appl/ftp/ftp/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/heimdal/appl/ftp/ftp/main.c b/crypto/heimdal/appl/ftp/ftp/main.c
index 071f601..c78cd4a 100644
--- a/crypto/heimdal/appl/ftp/ftp/main.c
+++ b/crypto/heimdal/appl/ftp/ftp/main.c
@@ -38,7 +38,7 @@
#include "ftp_locl.h"
#include <getarg.h>
-RCSID("$Id: main.c,v 1.33.2.1 2003/08/20 16:43:14 lha Exp $");
+RCSID("$Id: main.c 16160 2005-10-12 09:42:47Z joda $");
static int help_flag;
static int version_flag;
@@ -61,12 +61,16 @@ struct getargs getargs[] = {
"Packet tracing", NULL},
#ifdef KRB5
{ "gss-bindings", 0, arg_negative_flag, &ftp_do_gss_bindings,
- "Use GSS-API bindings", NULL},
+ "Don't use GSS-API bindings", NULL},
+ { "gss-delegate", 0, arg_negative_flag, &ftp_do_gss_delegate,
+ "Disable delegation of GSS-API credentials", NULL},
#endif
{ NULL, 'v', arg_counter, &verbose,
"verbosity", NULL},
{ NULL, 'K', arg_negative_flag, &use_kerberos,
"Disable kerberos authentication", NULL},
+ { "encrypt", 'x', arg_flag, &doencrypt,
+ "Encrypt command and data channel if possible" },
{ "version", 0, arg_flag, &version_flag },
{ "help", 'h', arg_flag, &help_flag },
};
OpenPOWER on IntegriCloud