Commit: 302a03f1c25680e3309f236c4cb60106b102529c
Parent: 4f7162071f885714f8a3aaedc50333576e2dd8f5
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-03-22 11:38:48
Tree: b45fd19d4fa7ec98060e963ede5f67e3b1cad77e

shared/shell: Fix short option parsing The index value used for detecting and validating a short option was not reset after processing a first short option. This prevented the correct parsing of additional short options. Fixed by resetting the index value back to original after each iteration.

Diffstat

M src/shared/shell.c | 2 ++

1 files changed, 2 insertions(+), 0 deletions(-)

View Full Diff | Patch