summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch_main.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-07-21 02:37:09 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-07-21 02:37:09 +0200
commit4ad9995b5bef8fcf3d8d6c70c742e3648d244aac (patch)
tree6cbd663fd2d46a879605ecb97191816f0df09dd6 /applypatch/applypatch_main.cpp
parentMerge "Updates Wear UI to Display Localized Recovery Text." am: 6bc9d605f3 (diff)
parentMerge "applypatch: Change applypatch command-line arguments." (diff)
downloadandroid_bootable_recovery-4ad9995b5bef8fcf3d8d6c70c742e3648d244aac.tar
android_bootable_recovery-4ad9995b5bef8fcf3d8d6c70c742e3648d244aac.tar.gz
android_bootable_recovery-4ad9995b5bef8fcf3d8d6c70c742e3648d244aac.tar.bz2
android_bootable_recovery-4ad9995b5bef8fcf3d8d6c70c742e3648d244aac.tar.lz
android_bootable_recovery-4ad9995b5bef8fcf3d8d6c70c742e3648d244aac.tar.xz
android_bootable_recovery-4ad9995b5bef8fcf3d8d6c70c742e3648d244aac.tar.zst
android_bootable_recovery-4ad9995b5bef8fcf3d8d6c70c742e3648d244aac.zip
Diffstat (limited to '')
-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);
}