commit | 302a03f1c25680e3309f236c4cb60106b102529c | [log] [tgz] |
---|---|---|
author | Inga Stotland <inga.stotland@intel.com> | Wed Mar 21 20:13:00 2018 -0700 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Thu Mar 22 11:38:48 2018 +0200 |
tree | b45fd19d4fa7ec98060e963ede5f67e3b1cad77e | |
parent | 4f7162071f885714f8a3aaedc50333576e2dd8f5 [diff] |
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.