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