Skip to content

Commit

Permalink
logger: fix opt for filter parameter
Browse files Browse the repository at this point in the history
The -F filter option has argument, we should use
F: instead of F in the optstring.

Fixes: #3530

Signed-off-by: Pan Xiuli <[email protected]>
  • Loading branch information
xiulipan authored and lrgirdwo committed Nov 19, 2020
1 parent 8ee4125 commit 6d9d233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/logger/logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static int append_filter_config(struct convert_config *config, const char *input

int main(int argc, char *argv[])
{
static const char optstring[] = "ho:i:l:ps:c:u:tv:rd:Lf:gFn";
static const char optstring[] = "ho:i:l:ps:c:u:tv:rd:Lf:gF:n";
struct convert_config config;
unsigned int baud = 0;
const char *snapshot_file = 0;
Expand Down

0 comments on commit 6d9d233

Please sign in to comment.