Skip to main content

get_arguments

Function get_arguments 

Source
pub(crate) fn get_arguments() -> u16
Expand description

Parses command-line arguments passed to the kernel executable.

Supports the --port [port] argument to override the default TCP listening port (6767). If an invalid port number or unknown argument is encountered, an error message is printed and the process exits with a non-zero status code.