krb5 commit: Remove ksu -D flag documentation

Greg Hudson ghudson at mit.edu
Wed Dec 3 12:46:23 EST 2014


https://github.com/krb5/krb5/commit/f4e3e096af73254f208d0fc0632db12fc559e1ad
commit f4e3e096af73254f208d0fc0632db12fc559e1ad
Author: Remi Ferrand <remi.ferrand at cc.in2p3.fr>
Date:   Sat Nov 15 11:40:11 2014 +0100

    Remove ksu -D flag documentation
    
    ksu -D does not work in the default build, so we should not document
    it.  Remove any mention of it from the usage message and from ksu.rst.
    
    [ghudson at mit.edu: edited commit message; omit change to generated man
    page]
    
    ticket: 8048 (new)

 doc/user/user_commands/ksu.rst |    4 ----
 src/clients/ksu/main.c         |    2 +-
 2 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/doc/user/user_commands/ksu.rst b/doc/user/user_commands/ksu.rst
index 975c898..b2f9121 100644
--- a/doc/user/user_commands/ksu.rst
+++ b/doc/user/user_commands/ksu.rst
@@ -11,7 +11,6 @@ SYNOPSIS
 [ **-n** *target_principal_name* ]
 [ **-c** *source_cache_name* ]
 [ **-k** ]
-[ **-D** ]
 [ **-r** time ]
 [ **-pf** ]
 [ **-l** *lifetime* ]
@@ -229,9 +228,6 @@ OPTIONS
     shell or a command (**-e** command).  Without **-k**, ksu deletes
     the target cache.
 
-**-D**
-    Turn on debug mode.
-
 **-z**
     Restrict the copy of tickets from the source cache to the target
     cache to only the tickets where client == the target principal
diff --git a/src/clients/ksu/main.c b/src/clients/ksu/main.c
index b6b3379..453dae6 100644
--- a/src/clients/ksu/main.c
+++ b/src/clients/ksu/main.c
@@ -66,7 +66,7 @@ static krb5_error_code resolve_target_cache(krb5_context ksu_context,
 void usage (){
     fprintf(stderr,
             _("Usage: %s [target user] [-n principal] [-c source cachename] "
-              "[-k] [-D] [-r time] [-pf] [-l lifetime] [-zZ] [-q] "
+              "[-k] [-r time] [-pf] [-l lifetime] [-zZ] [-q] "
               "[-e command [args... ] ] [-a [args... ] ]\n"), prog_name);
 }
 


More information about the cvs-krb5 mailing list