mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 06:50:44 +00:00
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:
@@ -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]
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user