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

generate: change process-tty to process-terminal #517

Merged
merged 1 commit into from
Nov 16, 2017

Conversation

zhouhao3
Copy link

Signed-off-by: Zhou Hao zhouhao@cn.fujitsu.com

@@ -103,7 +103,7 @@ var generateFlags = []cli.Flag{
cli.StringSliceFlag{Name: "process-rlimits-add", Usage: "specifies resource limits for processes inside the container. "},
cli.StringSliceFlag{Name: "process-rlimits-remove", Usage: "remove specified resource limits for processes inside the container. "},
cli.BoolFlag{Name: "process-rlimits-remove-all", Usage: "remove all resource limits for processes inside the container. "},
cli.BoolFlag{Name: "process-tty", Usage: "allocate a new tty for the container process"},
cli.BoolFlag{Name: "process-terminal", Usage: "specifies terminal attach to the process"},
Copy link
Member

Choose a reason for hiding this comment

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

It sounds like setting a terminal with detailed info (size for example).
We can just reuse the word in the spec file: specifies whether a terminal is attached to the process.

Copy link
Author

Choose a reason for hiding this comment

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

updated.

Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
@Mashimiao
Copy link

Mashimiao commented Nov 16, 2017

LGTM

Approved with PullApprove

1 similar comment
@liangchenye
Copy link
Member

liangchenye commented Nov 16, 2017

LGTM

Approved with PullApprove

@liangchenye liangchenye merged commit 6865f36 into opencontainers:master Nov 16, 2017
@zhouhao3 zhouhao3 deleted the tty-fix branch November 16, 2017 02:15
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.

3 participants