diff --git a/README.md b/README.md index b7a9dd6..d66e7a5 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ 傳入 `--help` 可以印出使用說明。 ```sh -docker run -it hyperbola/shopee-coins-bot:v1 --help +docker run -it hyperbola/shopee-coins-bot:1 --help ``` ### 帳號密碼登入 @@ -30,7 +30,7 @@ docker run -it hyperbola/shopee-coins-bot:v1 --help ```sh docker run -it -v /path/to/somewhere:/cookie \ - hyperbola/shopee-coins-bot:v1 -u username -p password -c /cookie + hyperbola/shopee-coins-bot:1 -u username -p password -c /cookie ``` > **Warning** @@ -42,7 +42,7 @@ docker run -it -v /path/to/somewhere:/cookie \ 如果之前有儲存過 cookie,用 cookie 登入即可,這樣就不會觸發簡訊驗證。 ```sh -docker run -it -v /path/to/somewhere:/cookie hyperbola/shopee-coins-bot:v1 -c /cookie +docker run -it -v /path/to/somewhere:/cookie hyperbola/shopee-coins-bot:1 -c /cookie ``` ## 參數 diff --git a/README_en.md b/README_en.md index ee39766..8c15e1b 100644 --- a/README_en.md +++ b/README_en.md @@ -17,7 +17,7 @@ Checkin to Shopee and get coins by CLI 😀😀 ### Print Help Message ```sh -docker run -it hyperbola/shopee-coins-bot:v1 --help +docker run -it hyperbola/shopee-coins-bot:1 --help ``` ### Login with Username and Password @@ -29,7 +29,7 @@ docker run [-it] \ -e USERNAME= \ -e PASSWORD= \ -v /path/to/save/cookies:/cookies \ - hyperbola/shopee-coins-bot:v1 -c /cookies + hyperbola/shopee-coins-bot:1 -c /cookies ``` > **Warning** @@ -42,7 +42,7 @@ If you have cookies saved in the previous run, you can login without username or ```sh docker run [-it] \ -v /path/to/cookies:/cookies \ - hyperbola/shopee-coins-bot:v1 -c /cookies + hyperbola/shopee-coins-bot:1 -c /cookies ``` ## Options diff --git a/src/index.ts b/src/index.ts index b5d3dba..4a09459 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,7 @@ import { hideBin } from 'yargs/helpers' const version = '1.0.4' const args = yargs(hideBin(process.argv)) - .usage('docker run -it hyperbola/shopee-coins-bot:v1 [options]') + .usage('docker run -it hyperbola/shopee-coins-bot:1 [options]') .options({ user: { alias: 'u',