NO_VALUES

Constant NO_VALUES 

Source
pub const NO_VALUES: &[&str];
Expand description

§No values

This can be used conveniently with Option.

§Examples

use std::borrow::Cow;
use dia_args::docs::{NO_VALUES, Option};

const OPTION_PORT: &[&str] = &["-p", "--port"];
const OPTION_PORT_DOCS: Cow<str> = Cow::Borrowed("Port for server.");

let _option = Option::new(OPTION_PORT, false, NO_VALUES, None, OPTION_PORT_DOCS);