Skip to main content

help

Function help 

Source
pub fn help(args: &[&str]) -> !
Expand description

Source: CLI/src/Reduce.cpp:476-481 (help).

C++:

printf("Syntax: %s script command \"search text\"\n", args[0].data());
printf("    Within command, use {} as a stand-in for the script being reduced\n");
exit(1);

args[0] is the program name; print it directly (the C++ string_view::data() is the NUL-terminated argv[0]).