Re: [PATCH] MEDIUM: init: allow directory as argument of -f

2016-05-07 Thread Maxime de Roucy
Hello, I just realize I include a typo when editing my commit message to respect the 75 char limit : > $ ./haproxy -C rootdir -f root2 -f superdir2 \ >    -f root -f superdir1 -f root1 is in fact : > $ ./haproxy -C rootdir -f root2 -f superdir2 \ >   

[PATCH] MEDIUM: init: allow directory as argument of -f

2016-05-07 Thread Maxime de Roucy
If -f argument is a directory add all the files (and only files) it containes to the config files list. These files are added in lexical order (man alphasort). The -f order is still respected: $ tree rootdir rootdir ├── root1 ├── root2 ├── root3 ├──