Add new cpio command: "exists", to magiskboot

This commit is contained in:
topjohnwu
2018-12-05 20:27:48 -05:00
parent 8b4008798f
commit 1fae89cbb6
2 changed files with 5 additions and 1 deletions

View File

@@ -39,6 +39,8 @@ static void usage(char *arg0) {
" Do cpio commands to <incpio> (modifications are done directly)\n"
" Each command is a single argument, use quotes if necessary\n"
" Supported commands:\n"
" exists ENTRY\n"
" Return 0 if ENTRY exists, else return 1\n"
" rm [-r] ENTRY\n"
" Remove ENTRY, specify [-r] to remove recursively\n"
" mkdir MODE ENTRY\n"