Bug#691422: init-functions: order of arguments is not context-free
Control: tags -1 +wontfix
Le dimanche, 4 novembre 2012 01.36:53, Jeff Licquia a écrit :
> The LSB spec for pidofproc is here:
>
> https://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-ge
> neric/iniscrptfunc.html
>
> It defines the command line arguments for pidofproc as your second form,
> with the -p parameter first.
>
> This is in line with a number of other commands which require that
> dashed parameters come before bare arguments, and is also consistent
> with the implementation of getopt(1), getopt(3), and the "getopts" shell
> function in POSIX (the latter of which our script relies on for argument
> parsing).
>
> Given this, I'm inclined to mark this bug "wontfix". But I'm willing to
> be convinced otherwise.
Same here; that makes two maintainers' opinions. :) Hereby tagging.
Cheers,
OdyX
Reply to: