Enhance help
This commit is contained in:
parent
2ca57f08ff
commit
66922d5d43
12
README.txt
12
README.txt
|
@ -9,14 +9,18 @@ Syntax: spitzip <action> <flags> <archive>
|
||||||
Available actions:
|
Available actions:
|
||||||
* help - Prints this help
|
* help - Prints this help
|
||||||
* list - Outputs each file of archive as a json table
|
* list - Outputs each file of archive as a json table
|
||||||
* extract - Copy a file/folder from the archive into another folder. -if= sets
|
* extract - Copy a file/folder from the archive into another folder.
|
||||||
the path to copy from the archive (DO NOT use wildcards!), -of= sets the output
|
|
||||||
folder. The output folder has to exist. Files are replaced without asking.
|
|
||||||
|
|
||||||
Universal flags:
|
Flags (universal):
|
||||||
* -tool= - Which tool to use for the archive. By default, the program guesses
|
* -tool= - Which tool to use for the archive. By default, the program guesses
|
||||||
the best tool for the job. Available: 7z, tar
|
the best tool for the job. Available: 7z, tar
|
||||||
|
|
||||||
|
Flags (extract):
|
||||||
|
* -if= - Set path to copy from the archive (DO NOT use wildcards!). If set to
|
||||||
|
an empty string (-if= or -if=""), it will extract the whole archive.
|
||||||
|
* -of= - Set the output folder for the files. The folder has to exist. Files
|
||||||
|
are replaced without asking.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Prerequisites:
|
Prerequisites:
|
||||||
|
|
|
@ -46,13 +46,17 @@ Syntax: "''' +sys.argv[0]+ '''" <action> <flags> <archive>
|
||||||
Available actions:
|
Available actions:
|
||||||
* help - Prints this help
|
* help - Prints this help
|
||||||
* list - Outputs each file of archive as a json table
|
* list - Outputs each file of archive as a json table
|
||||||
* extract - Copy a file/folder from the archive into another folder. -if= sets
|
* extract - Copy a file/folder from the archive into another folder.
|
||||||
the path to copy from the archive (DO NOT use wildcards!), -of= sets the output
|
|
||||||
folder. The output folder has to exist. Files are replaced without asking.
|
|
||||||
|
|
||||||
Universal flags:
|
Flags (universal):
|
||||||
* -tool= - Which tool to use for the archive. By default, the program guesses
|
* -tool= - Which tool to use for the archive. By default, the program guesses
|
||||||
the best tool for the job. Available: 7z, tar\
|
the best tool for the job. Available: 7z, tar
|
||||||
|
|
||||||
|
Flags (extract):
|
||||||
|
* -if= - Set path to copy from the archive (DO NOT use wildcards!). If set to
|
||||||
|
an empty string (-if= or -if=""), it will extract the whole archive.
|
||||||
|
* -of= - Set the output folder for the files. The folder has to exist. Files
|
||||||
|
are replaced without asking.\
|
||||||
''')
|
''')
|
||||||
sys.exit(exitCode)
|
sys.exit(exitCode)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue