command_parser: fix non-optional whitespace after `report`

master
Astro 2019-09-18 23:25:40 +02:00
parent db1788bafb
commit 4e5de7831b
1 changed files with 1 additions and 4 deletions

View File

@ -127,10 +127,7 @@ fn off_on(input: &[u8]) -> IResult<&[u8], bool> {
fn report(input: &[u8]) -> IResult<&[u8], Command> { fn report(input: &[u8]) -> IResult<&[u8], Command> {
preceded( preceded(
preceded( tag("report"),
tag("report"),
whitespace
),
alt(( alt((
preceded( preceded(
whitespace, whitespace,