提交 c63941d0 编写于 作者: 徐晓伟's avatar 徐晓伟

🐛 修正参数名

上级 25860b00
......@@ -318,7 +318,7 @@ COPYRIGHT:
--token value your_access_token
--id value 项目 ID 或 URL 编码的路径
--name value 环境名称
--external_url value 该环境的链接位置
--external-url value 该环境的链接位置
--tier value 新环境的层级。允许设置的值为 production, staging, testing, development 和 other
--page value 页码(默认:1),中文文档 https://docs.gitlab.cn/jh/api/rest/index.html#pagination (default: 1)
--per-page value 每页列出的项目数(默认:20;最大:100),中文文档 https://docs.gitlab.cn/jh/api/rest/index.html#pagination (default: 20)
......@@ -627,7 +627,7 @@ COPYRIGHT:
--skip-project-wiki-path value [ --skip-project-wiki-path value ] 跳过项目wiki路径
--allow-failure 允许失败 (default: false)
--name value 环境名称
--external_url value 该环境的链接位置
--external-url value 该环境的链接位置
--tier value 新环境的层级。允许设置的值为 production, staging, testing, development 和 other
--print-json 打印 JSON (default: false)
--print-time 打印时间 (default: false)
......
......@@ -32,7 +32,7 @@ const (
AutoSkipExistFolder = "auto-skip-exist-folder"
AllowFailure = "allow-failure"
EnvName = "name"
EnvExternalUrl = "external_url"
EnvExternalUrl = "external-url"
EnvTier = "tier"
VariableKey = "key"
VariableValue = "value"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册