mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 21:38:16 +08:00
Pipe character for listing options - Fully implemented and tested.
This commit is contained in:

committed by
Patrik Svensson

parent
e66d3aab2e
commit
43f9ae92ad
@ -124,7 +124,7 @@ internal static class TemplateParser
|
||||
foreach (var character in token.Value)
|
||||
{
|
||||
if (!char.IsLetterOrDigit(character) &&
|
||||
character != '=' && character != '-' && character != '_')
|
||||
character != '=' && character != '-' && character != '_' && character != '|')
|
||||
{
|
||||
throw CommandTemplateException.InvalidCharacterInValueName(template, token, character);
|
||||
}
|
||||
|
Reference in New Issue
Block a user