Function commandlines::parsers::parse_mops
source · Expand description
Returns Option<Vec<String>> that includes unique short options parsed from the command arguments, including any multi-option short syntax options.
Returns None if there were no short options in the command
Remarks
Note that this function is not UTF-8 compliant and enforces a stricter character set definition than other areas of the library. It will not properly parse multi-option short syntax options that include characters outside of the Unicode Basic Latin set. This function supports the multi-option short syntax argument style defined in the POSIX guidelines (i.e., POSIX option strings should include only characters in the alphanumeric subset of the Unicode Basic Latin set).