On Wed, Jul 18, 2012 at 3:49 PM, Peter Stuge <pe...@stuge.se> wrote: > William Hubbs wrote: >> /etc/init.d/foo stop start >> >> would no longer work the way you might expect because there would be no >> way to tell whether start is a command or an argument to stop. >> >> What are your thoughts about this change? > > /etc/init.d/foo stop start > > along with all other commands can work like before. > > /etc/init.d/foo stop -- start > > can pass start as an argument to the stop command.
I like this approach, because its use of -- continues expected commandline parsing behaviors from other commands, making it intuitive. I.e. touch -- -an-ugly-filename ls -l -- -an-ugly-filename rm -- -an-ugly-filename -- :wq