From 79605aece1fa5fbe6bed84ac88a61a58caa3545f Mon Sep 17 00:00:00 2001 From: nailyk-fr Date: Mon, 17 Apr 2017 14:24:40 +0200 Subject: ors: Update doc Change-Id: Ia026a8578262d4bb231e1727313ed1f5e323b880 --- orscmd/orscmd.cpp | 14 ++++++-------- 1 file 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 [backupname]\n"); + printf(" restore [backupname]\n"); + printf(" wipe \n"); printf(" sideload\n"); - printf(" set variable value\n"); - printf(" get variable\n"); - printf(" decrypt password\n"); + printf(" set [value]\n"); + printf(" decrypt \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) -- cgit v1.2.3