[][src]Function python_launcher::version_from_flag

pub fn version_from_flag(arg: &str) -> Option<RequestedVersion>

Attempts to find a version specifier from a CLI argument.

It is assumed that the flag from the command-line is passed as-is (i.e. the flag starts with -).