Hacker News new | ask | show | jobs
by brontitall 522 days ago
Doing it the way it does allows specifying multiple services.

systemctl status myapp mydb

2 comments

I would rather do that as two commands than to scroll to see the output of each.
There is no output for success.
Only failure is rewarded!
NOBODY ask for a status of two services.

Hence the verb-last CLI rulez!

Why not allow for both and accept the option at any location?

Something like:

systemctl --stop myapp mydb

systemctl myapp mydb --stop

All `--` strings should be "options". Starting/stopping a service is not an option, it's a command. I don't enjoy `pacman` for this very reason.
unnecessary flexibility brings unnecessary bugs