Rename .yaml to .yml

docker-compose and other utilities use the .yml extension.
For consistency rename all .yaml to .yml

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer
2017-03-27 09:53:26 +02:00
parent 594253b0a8
commit 9507f102cc
14 changed files with 3 additions and 15 deletions

View File

@@ -66,7 +66,7 @@ func containersInitrd(containers []*bytes.Buffer) (*bytes.Buffer, error) {
}
func build(name string, pull bool, args []string) {
conf := "moby.yaml"
conf := "moby.yml"
if len(args) > 0 {
conf = args[0]
}

View File

@@ -19,8 +19,8 @@ func main() {
buildCmd := flag.NewFlagSet("build", flag.ExitOnError)
buildCmd.Usage = func() {
fmt.Printf("USAGE: %s build [options] [file.yaml]\n\n", os.Args[0])
fmt.Printf("'file.yaml' defaults to 'moby.yaml' if not specified.\n\n")
fmt.Printf("USAGE: %s build [options] [file.yml]\n\n", os.Args[0])
fmt.Printf("'file.yml' defaults to 'moby.yml' if not specified.\n\n")
fmt.Printf("Options:\n")
buildCmd.PrintDefaults()
}