Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appdev: update flag documentation, scope timeout flag to actual build #1250

Merged

Conversation

kamaln7
Copy link
Contributor

@kamaln7 kamaln7 commented Sep 23, 2022

No description provided.

@andrewsomething andrewsomething merged commit cf6cd5a into digitalocean:main Sep 26, 2022
)

AddDurationFlag(
build, doctl.ArgTimeout,
"", 0,
"An optional timeout duration for the build",
`An optional timeout duration for the build. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Example: 15m30s`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could probably drop the small time values, they seem impractical, to make this more concise and reduce clutter.

Suggested change
`An optional timeout duration for the build. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Example: 15m30s`,
`An optional timeout duration for the build. Valid time units are "s", "m", "h". Example: 15m30s`,

)

AddStringFlag(
build, doctl.ArgRegistry,
"", os.Getenv("APP_DEV_REGISTRY"),
"Registry name to build use for the component build.",
"An optional registry name to tag built container images with.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a suggestion in case ending a sentence with a preposition concerns people. :-)

Suggested change
"An optional registry name to tag built container images with.",
"An optional registry name used to tag built container images.",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants