Skip to main content

unknown_argument_message

Function unknown_argument_message 

Source
pub fn unknown_argument_message(key: &str, props: &Map<String, Value>) -> String
Expand description

What to say about an argument name the tool does not take: the names 3.0 retired are called out with their replacement (doc → id/path, block/node → id, heading → section, markdown → text) when the tool has the replacement, and so are the inputs 4.0 retired — ops (where the tool takes effects: the kernel ops are a library/fixture contract), dry_run (every preview is plan), attrs (where the tool takes checked); otherwise the nearest valid name (Levenshtein ≤ 2, or one a prefix of the other).