Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Rename "output" to "format" #146

Merged
merged 1 commit into from
Sep 1, 2017
Merged

Conversation

justincormack
Copy link
Collaborator

This was confusing as there is an option to output to a file as well.

Signed-off-by: Justin Cormack justin.cormack@docker.com

cc @deitch I think you suggested this...

@deitch
Copy link
Contributor

deitch commented Sep 1, 2017

I think you suggested this

Thank you, yes. It was confusing.

Are the README/--help updated?

@justincormack
Copy link
Collaborator Author

The --help is generated automatically, yes. I have another PR that updates LinuxKit which updates all the docs there.

@justincormack justincormack changed the title Rename "outputs" to "formats" Rename "output" to "format" Sep 1, 2017
justincormack added a commit to justincormack/linuxkit that referenced this pull request Sep 1, 2017
This is less confusing as there is also an output option to set the file.

See moby/tool#146

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
justincormack added a commit to justincormack/linuxkit that referenced this pull request Sep 1, 2017
This is less confusing as there is also an output option to set the file.

See moby/tool#146

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Copy link
Contributor

@riyazdf riyazdf left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -56,7 +56,7 @@ func getDiskSizeMB(s string) (int, error) {

// Process the build arguments and execute build
func build(args []string) {
var buildOut outputList
var buildFormats outputList
Copy link
Collaborator

Choose a reason for hiding this comment

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

should this PR also s/outputList/formatList?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

This was confusing as there is an option to output to a file as well.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
@justincormack justincormack merged commit 1ff0e3b into moby:master Sep 1, 2017
@justincormack justincormack deleted the formats branch September 1, 2017 22:51
justincormack added a commit to justincormack/linuxkit that referenced this pull request Sep 1, 2017
This is less confusing as there is also an output option to set the file.

See moby/tool#146

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
ijc pushed a commit to linuxkit/kubernetes that referenced this pull request Nov 17, 2017
This is less confusing as there is also an output option to set the file.

See moby/tool#146

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants