diff --git a/README.md b/README.md index 7a259605..70f3f48b 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,7 @@ In the following table, we list all advanced options for reference: | `--prompt` | [Custom Prompt](https://github.com/Byaidu/PDFMathTranslate/blob/main/docs/ADVANCED.md#prompt) | `pdf2zh --prompt [prompt.txt]` | | `--onnx` | [Use Custom DocLayout-YOLO ONNX model] | `pdf2zh --onnx [onnx/model/path]` | | `--serverport` | [Use Custom WebUI port] | `pdf2zh --serverport 7860` | +| `--dir` | [batch translate] | `pdf2zh --dir /path/to/translate/` | For detailed explanations, please refer to our document about [Advanced Usage](./docs/ADVANCED.md) for a full list of each option. diff --git a/docs/README_ja-JP.md b/docs/README_ja-JP.md index b10ef5de..3a8344a0 100644 --- a/docs/README_ja-JP.md +++ b/docs/README_ja-JP.md @@ -179,6 +179,7 @@ Python環境を事前にインストールする必要はありません | `--prompt` | [カスタムビッグモデルのプロンプトを使用する] | `pdf2zh --prompt [prompt.txt]` | | `--onnx` | [カスタムDocLayout-YOLO ONNXモデルの使用] | `pdf2zh --onnx [onnx/model/path]` | | `--serverport` | [カスタムWebUIポートを使用する] | `pdf2zh --serverport 7860` | +| `--dir` | [batch translate] | `pdf2zh --dir /path/to/translate/` |