You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ipwb -h index invokes the indexer's help contents via argparse. The newly added encryption feature invoked via ipwb -e index (warcPath) is not included in the "optional arguments" section when ipwb -h index is run.
Despite this, ipwb -e index DOES show the flag under usage but not documentation is available. Check the argparse code to see if something is missing from this sub-parsers definition.
The text was updated successfully, but these errors were encountered:
-h AFTER index shows the description. Not sure why ipwb -h index does not. It might have to do with the argparse hierarchy used.
➜ ipwb git:(master) ipwb index
usage: ipwb [-h] [-e] index <warcPath>
ipwb: error: too few arguments
➜ ipwb git:(master) ipwb index -h
usage: ipwb [-h] [-e] index <warcPath>
Index a WARC file forreplayin ipwb
positional arguments:
index <warcPath> Path to a WARC[.gz] file
optional arguments:
-h, --help show this help message and exit
-e Encrypt WARC content prior to disseminating to IPFS
➜ ipwb git:(master)
ipwb -h index
invokes the indexer's help contents viaargparse
. The newly added encryption feature invoked viaipwb -e index (warcPath)
is not included in the "optional arguments" section whenipwb -h index
is run.Despite this,
ipwb -e index
DOES show the flag under usage but not documentation is available. Check the argparse code to see if something is missing from this sub-parsers definition.The text was updated successfully, but these errors were encountered: