Skip to content

Commit 98985a2

Browse files
committed
feat: sync command line option description with docs
1 parent 4653010 commit 98985a2

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

options/options.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,13 @@ func (o *Options) CLI() serpent.OptionSet {
378378
Description: "Clone only a single branch of the Git repository.",
379379
},
380380
{
381-
Flag: "git-clone-thinpack",
382-
Env: WithEnvPrefix("GIT_CLONE_THINPACK"),
383-
Value: serpent.BoolOf(&o.GitCloneThinPack),
384-
Default: "true",
385-
Description: "Git clone with thin pack compatibility enable.",
381+
Flag: "git-clone-thinpack",
382+
Env: WithEnvPrefix("GIT_CLONE_THINPACK"),
383+
Value: serpent.BoolOf(&o.GitCloneThinPack),
384+
Default: "true",
385+
Description: "Git clone with thin pack compatibility enabled, " +
386+
"ensuring that even when thin pack compatibility is activated," +
387+
"it will not be turned on for the domain dev.zaure.com.",
386388
},
387389
{
388390
Flag: "git-username",

options/testdata/options.golden

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,10 @@ OPTIONS:
9999
--git-clone-single-branch bool, $ENVBUILDER_GIT_CLONE_SINGLE_BRANCH
100100
Clone only a single branch of the Git repository.
101101

102-
--git-clone-thinpack bool, $ENVBUILDER_GIT_CLONE_THINPACK
103-
Git clone with thin pack compatibility enable.
102+
--git-clone-thinpack bool, $ENVBUILDER_GIT_CLONE_THINPACK (default: true)
103+
Git clone with thin pack compatibility enabled, ensuring that even
104+
when thin pack compatibility is activated,it will not be turned on for
105+
the domain dev.zaure.com.
104106

105107
--git-http-proxy-url string, $ENVBUILDER_GIT_HTTP_PROXY_URL
106108
The URL for the HTTP proxy. This is optional.

0 commit comments

Comments
 (0)