1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

Modify examples in cdx-indexer help text to do as stated (#683)

This commit is contained in:
Lauren Ko 2021-12-07 18:09:44 -06:00 committed by GitHub
parent e64e58f040
commit 5c35a43dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -331,13 +331,13 @@ are supported.
Some examples:
* Create "example.cdx" index from example.warc.gz
{0} ./cdx/example.cdx ./warcs/example.warc.gz
{0} --output ./cdx/example.cdx ./warcs/example.warc.gz
* Create "combined.cdx", a combined, sorted index of all warcs in ./warcs/
{0} --sort combined.cdx ./warcs/
{0} --sort --output combined.cdx ./warcs/
* Create a sorted cdx per file in ./cdx/ for each archive file in ./warcs/
{0} --sort ./cdx/ ./warcs/
{0} --sort --output ./cdx/ ./warcs/
""".format(os.path.basename(sys.argv[0]))
sort_help = """