Skip to content
  • Andrzej Bieniek's avatar
    examples/light-client: add --quiet, --help and repeat options · 1c11743d
    Andrzej Bieniek authored
    Options added to help with library performance measurements.
    To send 1000 toggle commands with 50ms delay run:
    gupnp/examples$ ./light-client -q -c 1000 -d 50 toggle
    
    For more options run:
    gupnp/examples$ ./light-client --help
    Usage:
      lt-light-client [OPTION...] [on|off|toggle]
    
    Help Options:
      -h, --help                     Show help options
    
    Application Options:
      -q, --quiet                    Turn off output
      -c, --repeat-counter=value     Repeat counter
      -d, --repeat-delay=value       Delay in [ms] between each iteration
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708575
    1c11743d