Displays a warning message of extra content ignored in the shell contents.
Syntax |
void extra_ignored(const string &in text) |
---|---|
text |
Text of extra content to be displayed |
Result |
(none) |
Notes |
The method displays the message only if the specified text is not empty. |
Example of use:
bool execute(shell::object @shell, const string &in cmdline) { // Checking arguments from the command line string::parser p; p.set_text(cmdline); p.skip_token(); // Skip command name
// Command line analysis while (!p.at_end()) { if (p.parse_cmdline_option(opt)) { ... } ... }
shell.content.extra_ignored(p.unparsed()); ... } |