[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#747875: ben: position of --config argument matters



Le 2014-05-12 16:39, Johannes Schauer a écrit :
Package: ben
Version: 0.6.11

This version is not released yet. The BTS should be confused now :)

consider a file `test.ben` with the following content:

	architectures = ["armel"];

and the following invocations:

	ben monitor --config test.ben --archs amd64
	ben monitor --archs amd64 --config test.ben

The first will only consider amd64 while the second will only consider
armel.


Yeah, and it doesn't look like a surprise, at least for me. A .ben file
should be considered as way to put command-line options into a file. So
in your example, "--config test.ben" is equivalent to "--archs armel".
Hence the described result.

Regards,

--
Mehdi


Reply to: