Andy Pieters wrote on 08/10/2019 11:41:
> forget about the stop.  that was the context into which I discovered it.
> 
> I am not saying stop should disable I am saying stop should not accept
> now and silently ignore it


FWIW I'd tend to agree with you.


[colin@jimmy Channel (master)]$ sudo systemctl stop --fodslkjsf httpd

systemctl: unrecognized option '--fodslkjsf'

[colin@jimmy Channel (master)]$ sudo systemctl stop --now httpd

[colin@jimmy Channel (master)]$


If --now is irrelevant to the verb, then it should be the equiv of an
unrecognized option.

Bonus points if it issued a git-style "did you mean systemctl disable
--now ..." error response.

Col
-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to