Commit: 7c16c4044d1f8f7e667a5c4e4e8f72b6627bf115
Parent: ab41d6df80aa49e87c81b1a6383f9540fcc2d257
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2017-12-08 13:06:19
Tree: 4eb26e004732d7cf10ec315641a1c6cf4dcff7e5

shell: Add bt_shell_opt Make use of struct option and getopt_long to parse the options given.

Diffstat

M client/main.c | 40 ++++++++++++++++++++++++- - - - - - - - - - - - - - - -
M mesh/main.c | 25 ++++++++++++++++++++- - - - -
M src/shared/shell.c | 81 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - -
M src/shared/shell.h | 11 ++++++++++-
M tools/bluetooth-player.c | 2 +-
M tools/obexctl.c | 2 +-

6 files changed, 111 insertions(+), 50 deletions(-)

View Full Diff | Patch