Skip to content

Conversation

@liangchenye
Copy link
Member

Signed-off-by: liangchenye liangchenye@huawei.com

@liangchenye
Copy link
Member Author

I think 'platform' should be moved to 'validate' sub command, but not the global command.


**--platform**
Platform the tool targets.
Platform the tool targets. It will be overwritten by the host platform if '--host-specific' was set.

Choose a reason for hiding this comment

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

Should we clearly says valid values and default value in manpage?

Copy link
Member Author

Choose a reason for hiding this comment

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

You are right, updating on it.

…fic' was set

Signed-off-by: liangchenye <liangchenye@huawei.com>
@liangchenye
Copy link
Member Author

updated, PTAL @Mashimiao

@Mashimiao
Copy link

Mashimiao commented Jul 6, 2017

LGTM

Approved with PullApprove

@Mashimiao
Copy link

ping @hqhq @mrunalp

@hqhq
Copy link
Contributor

hqhq commented Jul 6, 2017

LGTM

Approved with PullApprove

@hqhq hqhq merged commit 3a7c1fb into opencontainers:master Jul 6, 2017
@wking
Copy link
Contributor

wking commented Jul 10, 2017 via email

@liangchenye
Copy link
Member Author

I removed it for 'generate command' for two reasons:

  1. I think it is OK for a config file to have both 'Window specific config' or 'Linux specific config'.
    The runtime-spec does not forbid it.
  2. I'm afraid it will be too complicated to have 'platform/template/other single option' in 'generate command'.
    If user want to have 'Windows' configs, I suggest they should:
    1. use 'Windows template'
    2. add 'Windows unique' options so the 'generate' will add 'Window Specific Config' automatically.

@wking
Copy link
Contributor

wking commented Jul 11, 2017 via email

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