replace '<string>' source name with '[string]'
This commit is contained in:
@@ -418,7 +418,7 @@ Command Command::create(
|
||||
std::string_view description,
|
||||
executor_func executor
|
||||
) {
|
||||
return CommandParser("<string>", scheme)
|
||||
return CommandParser("[string]", scheme)
|
||||
.parseScheme(std::move(executor), description);
|
||||
}
|
||||
|
||||
@@ -440,5 +440,5 @@ Command* CommandsRepository::get(const std::string& name) {
|
||||
}
|
||||
|
||||
Prompt CommandsInterpreter::parse(std::string_view text) {
|
||||
return CommandParser("<string>", text).parsePrompt(this);
|
||||
return CommandParser("[string]", text).parsePrompt(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user