From 8497b3e3f6951f2e44030a21a32307c1358867f7 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 16 Apr 2021 13:20:20 +0200 Subject: [PATCH] fix data dec --- client/src/cmddata.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/cmddata.c b/client/src/cmddata.c index 63d65fa25..870157514 100644 --- a/client/src/cmddata.c +++ b/client/src/cmddata.c @@ -1035,12 +1035,12 @@ static int CmdDecimate(const char *Cmd) { CLIParserInit(&ctx, "data decimate", "Performs decimation, by reducing samples N times in the grapbuf. Good for PSK\n", "data decimate\n" - "data decimate 4" + "data decimate -n 4" ); void *argtable[] = { arg_param_begin, - arg_int0(NULL, NULL, "", "factor to reduce sample set (default 2)"), + arg_int0("n", NULL, "", "factor to reduce sample set (default 2)"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, true); @@ -1067,12 +1067,12 @@ static int CmdUndecimate(const char *Cmd) { CLIParserInit(&ctx, "data undecimate", "Performs un-decimation, by repeating each sample N times in the graphbuf", "data undecimate\n" - "data undecimate 4\n" + "data undecimate -n 4\n" ); void *argtable[] = { arg_param_begin, - arg_int0(NULL, NULL, "", "factor to repeat each sample (default 2)"), + arg_int0("n", NULL, "", "factor to repeat each sample (default 2)"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, true);