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