summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch_main.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-07-21 01:04:33 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-07-21 01:04:33 +0200
commit860b457a15ec5dd995429d0b94d0741b8a74760e (patch)
tree06933687d2e5b3b107400eac4074ede90883d20e /applypatch/applypatch_main.cpp
parentMerge "Updates Wear UI to Display Localized Recovery Text." (diff)
parentapplypatch: Change applypatch command-line arguments. (diff)
downloadandroid_bootable_recovery-860b457a15ec5dd995429d0b94d0741b8a74760e.tar
android_bootable_recovery-860b457a15ec5dd995429d0b94d0741b8a74760e.tar.gz
android_bootable_recovery-860b457a15ec5dd995429d0b94d0741b8a74760e.tar.bz2
android_bootable_recovery-860b457a15ec5dd995429d0b94d0741b8a74760e.tar.lz
android_bootable_recovery-860b457a15ec5dd995429d0b94d0741b8a74760e.tar.xz
android_bootable_recovery-860b457a15ec5dd995429d0b94d0741b8a74760e.tar.zst
android_bootable_recovery-860b457a15ec5dd995429d0b94d0741b8a74760e.zip
Diffstat (limited to 'applypatch/applypatch_main.cpp')
-rw-r--r--applypatch/applypatch_main.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/applypatch/applypatch_main.cpp b/applypatch/applypatch_main.cpp
index 197077c93..4fa73d3c2 100644
--- a/applypatch/applypatch_main.cpp
+++ b/applypatch/applypatch_main.cpp
@@ -16,13 +16,7 @@
#include "applypatch_modes.h"
-// This program (applypatch) applies binary patches to files in a way that
-// is safe (the original file is not touched until we have the desired
-// replacement for it) and idempotent (it's okay to run this program
-// multiple times).
-//
-// See the comments to applypatch_modes() function.
-
+// See the comments for applypatch() function.
int main(int argc, char** argv) {
- return applypatch_modes(argc, const_cast<const char**>(argv));
+ return applypatch_modes(argc, argv);
}