pmt: README: fix wrong text

This commit is contained in:
2024-07-09 19:28:41 +03:00
committed by GitHub
parent 964d9b5426
commit 284bb42faa

View File

@@ -6,20 +6,20 @@ It offers a lot of options. I will place these below. But first let me talk abou
#### Presented arguments (options) #### Presented arguments (options)
``` ```
Usage: Usage: pmt [OPTIONS] backup PARTITION [OUTPUT] [OPTIONS]...
pmt backup PARTITION [OUTPUT] [OPTIONS]... or: pmt [OPTIONS] flash FILE PARTITION [OPTIONS]...
pmt flash FILE PARTITION [OPTIONS]... or: pmt [OPTIONS] format FILE_SYSTEM[ext/2/3/4] PARTITION [OPTIONS]...
pmt format FILE_SYSTEM[ext/2/3/4] PARTITION [OPTIONS]...
Options: Options:
-l | --logical it is meant to determine whether the target partition is logical -l, --logical It is meant to determine whether the target partition is logical.
-c | --context it is meant to specify a custom /dev context. Only classic partitions (default: /dev/block/by-name) -c, --context It is meant to specify a custom /dev context. Only classic partitions (default: /dev/block/by-name).
-p | --list list partitions -p, --list List partitions.
-s | --silent information and warning messages are silenced in normal work. -s, --silent Information and warning messages are silenced in normal work.
-f | --force force mode. Error messages are silenced and some things are ignored. -f, --force Force mode. Some things are ignored.
-v | --version see version -S, --set-lang Set current language.
--help see help message -v, --version See version.
-L | --license see license --help See this help message.
-L, --license See license.
Examples: Examples:
pmt backup boot_a -c /dev/block/platform/bootdevice/by-name pmt backup boot_a -c /dev/block/platform/bootdevice/by-name
@@ -35,7 +35,7 @@ Report bugs to <t.me/YZBruh>
- Feel free to ask any questions you want. - Feel free to ask any questions you want.
- Packages are available in publications. - Packages are available in publications.
- If the logical partition flag is not used, a classic partition is tried to be processing by default. - If the logical partition flag is not used, a classic partition is tried to be processing by default.
- [Click to see special version changes](https://github.com/YZBruh/pbt/blob/2.1.0-en/CHANGELOG.md) - [Click to see special version changes](https://github.com/YZBruh/pbt/blob/2.3.0/CHANGELOG.md)
- Let me know your suggestions! - Let me know your suggestions!
### How is it built? ### How is it built?
@@ -43,7 +43,7 @@ Android NDK is required to build.
- [Download](https://developer.android.com/ndk/downloads) and extract the NDK package. - [Download](https://developer.android.com/ndk/downloads) and extract the NDK package.
- Clone this repository. And get access to it. - Clone this repository. And get access to it.
``` ```
git clone https://github.com/YZBruh/pbt -b 2.1.0 ./pmt git clone https://github.com/YZBruh/pbt -b 2.4.0 ./pmt
cd pmt cd pmt
``` ```
- Set the NDK working directory variable. - Set the NDK working directory variable.
@@ -77,19 +77,13 @@ export NDK_PROJECT_PATH=$(pwd)
``` ```
``` ```
chmod 777 make-deb.sh chmod 777 utils.sh
# for making 64-bit package # for making 64-bit package
./make-deb.sh arm64-v8a ./utils.sh make-deb arm64-v8a
# for making 32-bit package # for making 32-bit package
./make-deb.sh armeabi-v7a ./utils.sh make-deb armeabi-v7a
```
### Easy install on termux
- Just execute this command in termux:
```shell
curl -LSs "https://raw.githubusercontent.com/YZBruh/pbt/2.1.0/install-termux.sh" | bash -
``` ```
### Notes ### Notes