iceauth: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Fri Nov 22 22:30:19 PST 2013


 iceauth.c       |   24 ++++++++++++++++++------
 man/iceauth.man |    2 ++
 process.c       |    2 +-
 3 files changed, 21 insertions(+), 7 deletions(-)

New commits:
commit f6316d16b2239220dd9f043bcc628a503f89ab5c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Tue Nov 5 23:48:50 2013 -0800

    Print which option was in error along with usage message
    
    Special case -u, since it's documented as printing the usage message
    (sort of like an ancient --help), so shouldn't be called unrecognized.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Gaetan Nadon <memsize at videotron.ca>

commit acee3b71b38ba4bcdd0b46557546e22dcdc320cb
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Tue Nov 5 23:34:20 2013 -0800

    Add -V flag to print version
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Gaetan Nadon <memsize at videotron.ca>

commit ad85d2eb4e44f21e8e38aa3bdec4acb139989218
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Tue Nov 5 23:26:24 2013 -0800

    Fix "noexistent" typo in error message
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Gaetan Nadon <memsize at videotron.ca>

commit e371fa337f256306fb93eaca7fbbe8ee5283dcfa
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Tue Nov 5 23:20:34 2013 -0800

    Actually print command list in usage message
    
    The xauth routine this was based on took three arguments:
    a file pointer, a command name, and a prefix.
    
    If a command name is given, prints help on that command,
    else if it's null, prints help on all commands.
    
    The iceauth version has only two arguments: file pointer & command name.
    It was being called with file pointer & prefix, and since the prefix
    matched no command names, no help was printed.
    
    Since the way iceauth's help list is structured doesn't make it easy
    to add a prefix to every line, skip indentation for now and just pass
    NULL for the command argument.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Gaetan Nadon <memsize at videotron.ca>



More information about the xorg-commit mailing list