summaryrefslogtreecommitdiffstats
path: root/orscmd
diff options
context:
space:
mode:
authornailyk-fr <nailyk_git@nailyk.fr>2017-04-17 14:24:40 +0200
committernailyk-fr <nailyk_git@nailyk.fr>2017-06-05 11:32:23 +0200
commit79605aece1fa5fbe6bed84ac88a61a58caa3545f (patch)
treebef041ab9d91b247aa959e1b6da38e69303bf550 /orscmd
parentadbbackup: write smaller reads less than 512 bytes (diff)
downloadandroid_bootable_recovery-79605aece1fa5fbe6bed84ac88a61a58caa3545f.tar
android_bootable_recovery-79605aece1fa5fbe6bed84ac88a61a58caa3545f.tar.gz
android_bootable_recovery-79605aece1fa5fbe6bed84ac88a61a58caa3545f.tar.bz2
android_bootable_recovery-79605aece1fa5fbe6bed84ac88a61a58caa3545f.tar.lz
android_bootable_recovery-79605aece1fa5fbe6bed84ac88a61a58caa3545f.tar.xz
android_bootable_recovery-79605aece1fa5fbe6bed84ac88a61a58caa3545f.tar.zst
android_bootable_recovery-79605aece1fa5fbe6bed84ac88a61a58caa3545f.zip
Diffstat (limited to 'orscmd')
-rw-r--r--orscmd/orscmd.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/orscmd/orscmd.cpp b/orscmd/orscmd.cpp
index c008450ab..fd8172dff 100644
--- a/orscmd/orscmd.cpp
+++ b/orscmd/orscmd.cpp
@@ -40,16 +40,14 @@ void print_usage(void) {
printf("Allows command line usage of TWRP via openrecoveryscript commands.\n");
printf("Some common commands include:\n");
printf(" install /path/to/update.zip\n");
- printf(" backup BSDC backupname\n");
- printf(" restore backupname BSDC\n");
- printf(" factoryreset\n");
- printf(" wipe cache\n");
+ printf(" backup <SDCRBAEM> [backupname]\n");
+ printf(" restore <SDCRBAEM> [backupname]\n");
+ printf(" wipe <partition name>\n");
printf(" sideload\n");
- printf(" set variable value\n");
- printf(" get variable\n");
- printf(" decrypt password\n");
+ printf(" set <variable> [value]\n");
+ printf(" decrypt <password>\n");
printf(" remountrw\n");
- printf("\nSee more documentation at http://teamw.in/openrecoveryscript\n");
+ printf("\nSee more documentation at https://twrp.me/faq/openrecoveryscript.html\n");
}
int do_setcap(const char* filename, const char* capabilities)