Update README.md

This commit is contained in:
Kevin Yu
2023-01-28 12:50:35 +08:00
committed by GitHub
parent 47b8ee51fb
commit f6b2ae4401

View File

@@ -5,11 +5,11 @@ A cli tool that can unpack v2ray data packages (also known as `geoip.dat` and `g
## Usage
```shell
v2dat unpack geoip [-d output_dir] [-f tag]... geoip_file
v2dat unpack geosite [-d output_dir] [-f tag[@attr]...]... geosite_file
v2dat unpack geoip [-o output_dir] [-f tag]... geoip_file
v2dat unpack geosite [-o output_dir] [-f tag[@attr]...]... geosite_file
```
- If `-d` was omitted, the current working dir `.` will be used.
- If `-o` was omitted, the current working dir `.` will be used.
- If no filter `-f` was given. All tags will be unpacked.
- If multiple `@attr` were given. Entries that don't contain any of given attrs will be ignored.
- Unpacked text files will be named as `<geo_filename>_<filter>.txt`.
@@ -35,4 +35,4 @@ google.com
keyword:google
regexp:www\.google\.com$
full:www.google.com
```
```