Skip to content

Commit

Permalink
docs(readme): add -c usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamjz committed Nov 24, 2023
1 parent a365ac5 commit fc0e707
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ Flags:
> Since it will rename files in the second parameter, this process is irreversible. Creating backups for video files is otherwise cumbersome due to their large size.
```cmd
# Rename subtitle files only
.\sub-renamer.exe "<video path>" "<subtitle path>"
# Using -c to copy subtitle files to video folder
.\sub-renamer.exe -c "<video path>" "<subtitle path>"
```

![](./docs/assets/how_to_use.gif)
Expand Down
4 changes: 4 additions & 0 deletions README_ZH_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ Flags:
> 因为程序会对第二个参数中的文件进行重命名,且操作是不可逆的。并且视频文件比较大,备份起来很麻烦。
```cmd
# 重命名字幕文件
.\sub-renamer.exe "<视频文件夹路径>" "<字幕文件夹路径>"
# 使用 -c 在重命名之后,复制字幕到视频文件夹
.\sub-renamer.exe -c "<视频文件夹路径>" "<字幕文件夹路径>"
```

![](./docs/assets/how_to_use.gif)
Expand Down

0 comments on commit fc0e707

Please sign in to comment.