[PATCH 00/11] Fix parse_options, add --help to many clients

Bill Spitzak spitzak at gmail.com
Tue Jul 8 21:17:03 PDT 2014


This replaces my previous single patch. This version does not change
parse_options return value, and discards the attempt to print automatic
help from the option list, as that was rarely used. Also split all
the client changes into individual patches.

Bill Spitzak (11):
  Fixes to parse_options
  weston-eventdemo --help works
  Made weston-nested --help work
  Made weston-subsurfaces --help work
  Made weston-screensaver --help work
  weston-terminal --help and other command-line options
  weston-cliptest --help works. You must use -b to run benchmark
  weston-dnd --help works
  weston-editor --help works
  weston-image --help works. Also help if no filename is given
  weston-scaler --help works even if not run inside wayland

 clients/cliptest.c     |    8 +++--
 clients/dnd.c          |   14 ++++++---
 clients/editor.c       |   15 ++++++---
 clients/eventdemo.c    |   42 +++++++++++++++++++------
 clients/image.c        |    5 +++
 clients/nested.c       |    7 +++--
 clients/scaler.c       |   12 +++----
 clients/subsurfaces.c  |    4 +--
 clients/terminal.c     |   11 +++++++
 clients/wscreensaver.c |    8 +++--
 shared/option-parser.c |   82 +++++++++++++++++++++++++++++++-----------------
 11 files changed, 146 insertions(+), 62 deletions(-)

-- 
1.7.9.5



More information about the wayland-devel mailing list