diff options
author | Ilho Kim <ilho159.kim@samsung.com> | 2024-06-12 20:19:24 +0900 |
---|---|---|
committer | Ilho Kim <ilho159.kim@samsung.com> | 2024-06-12 20:19:24 +0900 |
commit | c223c3bebe6da0332ffef09d7d122624fffbc707 (patch) | |
tree | 385e533942184cac7c7d1c0fe504a4f33244ce70 | |
parent | 256da817625fb40ad3337570f64cbe1114b5ecc9 (diff) | |
download | app-installers-c223c3bebe6da0332ffef09d7d122624fffbc707.tar.gz app-installers-c223c3bebe6da0332ffef09d7d122624fffbc707.tar.bz2 app-installers-c223c3bebe6da0332ffef09d7d122624fffbc707.zip |
Reset optind after parsing arguments
Change-Id: Ifb6f69d0580d4ea2947d55f63e628eee21d7f5fd
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
-rw-r--r-- | test/smoke_tests/common/smoke_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/smoke_tests/common/smoke_utils.cc b/test/smoke_tests/common/smoke_utils.cc index 027098c4..b46ecf24 100644 --- a/test/smoke_tests/common/smoke_utils.cc +++ b/test/smoke_tests/common/smoke_utils.cc @@ -119,7 +119,7 @@ ci::RequestMode ParseRequestMode(int argc, char** argv) { break; } } - + optind = 1; if (is_global_request) { std::cout << "Request mode was set to global." << std::endl; return ci::RequestMode::GLOBAL; |