diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-05-17 23:38:26 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-17 23:38:26 +0200 |
commit | 38d90316b23db3a0fc006d6f0e502b742c4152c1 (patch) | |
tree | 14fadf8929d56faab3e82f6c82f2702d3557ffc2 /recovery_main.cpp | |
parent | Merge "updater_sample: add switch slot demo" (diff) | |
parent | recovery: Reset optind to 1 after getopt (diff) | |
download | android_bootable_recovery-38d90316b23db3a0fc006d6f0e502b742c4152c1.tar android_bootable_recovery-38d90316b23db3a0fc006d6f0e502b742c4152c1.tar.gz android_bootable_recovery-38d90316b23db3a0fc006d6f0e502b742c4152c1.tar.bz2 android_bootable_recovery-38d90316b23db3a0fc006d6f0e502b742c4152c1.tar.lz android_bootable_recovery-38d90316b23db3a0fc006d6f0e502b742c4152c1.tar.xz android_bootable_recovery-38d90316b23db3a0fc006d6f0e502b742c4152c1.tar.zst android_bootable_recovery-38d90316b23db3a0fc006d6f0e502b742c4152c1.zip |
Diffstat (limited to 'recovery_main.cpp')
-rw-r--r-- | recovery_main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp index e21c782d0..5e82c6c1a 100644 --- a/recovery_main.cpp +++ b/recovery_main.cpp @@ -317,6 +317,7 @@ int main(int argc, char** argv) { } } } + optind = 1; if (locale.empty()) { if (has_cache) { |