Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README to latest help menu #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,27 +79,29 @@ A command line utility is also included

.. code:: text

usage: vpk [-h] [--version] [-l] [-la] [-x OUT_LOCATION] [-nd] [-t] [-c DIR]
[-p] [-f WILDCARD | -re REGEX | -name WILDCARD] [-v]
file
usage: vpk [-h] [--version] [-l | -la | -t | -c DIR | -p | -x OUT_LOCATION] [-cv {1,2}] [-nd] [-pe ENC] [-f WILDCARD | -re REGEX | -name WILDCARD] [-v] file

Manage Valve Pak files

optional arguments:
options:
-h, --help show this help message and exit
--version show program's version number and exit

Main:
file Input VPK file
-l, --list List file paths
-la List file paths, crc, size
-t, --test Verify contents
-c DIR, --create DIR Create VPK file from directory
-p, --pipe Write file contents to stdout
-x OUT_LOCATION, --extract OUT_LOCATION
Extract files to directory
-cv {1,2}, --create-version {1,2}
Create VPK with this version
-nd, --no-directories
Don't create directries during extraction
-t, --test Verify contents
-c DIR, --create DIR Create VPK file from directory
-p, --pipe Write file contents to stdout
-pe ENC, --path-encoding ENC
File paths encoding

Filters:
-f WILDCARD, --filter WILDCARD
Expand All @@ -108,7 +110,7 @@ A command line utility is also included
Regular expression filter for file paths
-name WILDCARD Filename wildcard filter
-v, --invert-match Use filters for exclusion


Looking to decompile Valve custom asset formats?
------------------------------------------------
Expand Down