[krb5-auth-dialog] Completely remove the --always option
- From: Guido Günther <guidog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog] Completely remove the --always option
- Date: Fri, 22 Apr 2011 19:16:50 +0000 (UTC)
commit 47736eaea5871d835eb951640b0baa5c350c4060
Author: Guido Günther <agx sigxcpu org>
Date: Fri Apr 22 21:05:08 2011 +0200
Completely remove the --always option
and correctly document --auto.
BZ: #648242
src/ka-dialog.c | 5 +----
src/krb5-auth-dialog.1.in | 15 +++++++--------
2 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/src/ka-dialog.c b/src/ka-dialog.c
index 5bc8678..fffd2fd 100644
--- a/src/ka-dialog.c
+++ b/src/ka-dialog.c
@@ -1076,7 +1076,7 @@ main (int argc, char *argv[])
GOptionContext *context;
GError *error = NULL;
- gboolean run_auto = FALSE, run_always = FALSE;
+ gboolean run_auto = FALSE;
const char *help_msg =
"Run '" PACKAGE
@@ -1084,9 +1084,6 @@ main (int argc, char *argv[])
const GOptionEntry options[] = {
{"auto", 'a', 0, G_OPTION_ARG_NONE, &run_auto,
"Only run if an initialized ccache is found", NULL},
- /* accepted for compatibility only */
- {"always", 'A', 0, G_OPTION_ARG_NONE, &run_always,
- "Always run (default)", NULL},
{NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL}
};
GFileMonitor *monitor = NULL;
diff --git a/src/krb5-auth-dialog.1.in b/src/krb5-auth-dialog.1.in
index b0e7b38..2a9867e 100644
--- a/src/krb5-auth-dialog.1.in
+++ b/src/krb5-auth-dialog.1.in
@@ -4,7 +4,7 @@
krb5-auth-dialog \- Kerberos 5 credential checking
.SH SYNOPSIS
-.B krb5-auth-dialog [--always|--auto]
+.B krb5-auth-dialog [--auto]
.SH DESCRIPTION
The krb5-auth-dialog application will periodically check (every
@@ -15,13 +15,10 @@ credentials, prompting the user for whatever information is necessary.
.SH ARGUMENTS
-.IP --always
-By default, krb5-auth-dialog will exit if it finds that the user has no
-Kerberos credentials. If this option is specified, then it will instead
-attempt to get credentials.
-
-.IP --auto
-Overrides the --always option, restoring the default behavior.
+.TP
+\fB--auto\fR
+If this option is specified, \fBkrb5-auth-dialog\fR will exit if it finds that the
+user has no Kerberos credentials.
.SH "SEE ALSO"
.BR krb5.conf (5)
@@ -35,3 +32,5 @@ bug database at http://bugzilla.gnome.org/ against the
Christopher Aillon <caillon redhat com>
.br
Jonathan Blandford <jrb redhat com>
+.br
+Guido Günther <agx sigxcpu org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]