command_parser: fix non-optional whitespace after report
This commit is contained in:
parent
db1788bafb
commit
4e5de7831b
@ -127,10 +127,7 @@ fn off_on(input: &[u8]) -> IResult<&[u8], bool> {
|
||||
|
||||
fn report(input: &[u8]) -> IResult<&[u8], Command> {
|
||||
preceded(
|
||||
preceded(
|
||||
tag("report"),
|
||||
whitespace
|
||||
),
|
||||
tag("report"),
|
||||
alt((
|
||||
preceded(
|
||||
whitespace,
|
||||
|
Loading…
Reference in New Issue
Block a user