Skip to content

parse_cmdline

parse_cmdline(cmdline): void

Defined in: src/init.ts:114

Work through the kernel command line, i.e. parse_args with unknown_bootoption.

Anything the kernel doesn’t recognize is init’s: with a value it becomes an environment variable, without one it becomes an argument. Everything after -- is an argument no matter what.

string

void