mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
replace '<string>' source name with '[string]'
This commit is contained in:
parent
134deb0ae6
commit
c543575150
8 changed files with 20 additions and 20 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue