Skip to main content

reject_bare_session_param

Function reject_bare_session_param 

Source
pub fn reject_bare_session_param(args: &[String]) -> Result<(), String>
Expand description

Reject a bare session=<…> argument. The session is named by --session alone, and a session= token would otherwise reach a command as an unrecognised parameter or positional, where a read-side command could report on the latest session while the operator named another. Checked once, at startup, for every command.