main: don't show help text anymore when we detect an unknown kernel cmdline value...
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Jun 2014 14:15:01 +0000 (16:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Jun 2014 14:33:01 +0000 (16:33 +0200)
commit9e01adfa90ab48e24b55a507d68768fc12e951f3
tree87adcccf653f5cb6fbee1f8b76a3f46433ac303d
parentca05941b9a6d7855bda2a7cb2cc16bbd3911acdd
main: don't show help text anymore when we detect an unknown kernel cmdline value starting with "systemd."

As generators and other components started to maintain their own kernel
command line options this help text needed more and more exceptions and
wasn't complete anyway. Fixing that would leak more information about
specific generators into PID 1, which we should avoid.

Given that kernel cmdline handling traditionally doesn't generate errors
or show help texts, let's just remove the logic for it for systemd too.
src/core/main.c