mirror of
https://github.com/anope/anope.git
synced 2026-07-08 11:03:14 +02:00
Add a type for wrapping examples instead of using manual linewraps.
At a later date we should revise the examples for all commands for consistency.
This commit is contained in:
@@ -157,12 +157,15 @@ public:
|
||||
"and the number of replies to limit to. By default this "
|
||||
"command searches one week of logs, and limits replies "
|
||||
"to 50."
|
||||
"\n\n"
|
||||
"For example:\n"
|
||||
" \002LOGSEARCH\033+21d\033+500l\033Anope\002\n"
|
||||
" Searches the last 21 days worth of logs for messages\n"
|
||||
" containing Anope and lists the most recent 500 of them."
|
||||
));
|
||||
|
||||
ExampleWrapper examples;
|
||||
examples.AddEntry("+21d +500l Anope", _(
|
||||
"Searches the last 21 days worth of logs for messages containing Anope and lists the "
|
||||
"most recent 500 of them."
|
||||
));
|
||||
examples.SendTo(source);
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user