Little Tweaks

Little Tweaks
This commit is contained in:
lwvmobile
2022-02-22 08:49:46 -05:00
committed by GitHub
parent 5b4d624bb2
commit 670e4e7bec
4 changed files with 14 additions and 7 deletions

View File

@@ -384,6 +384,7 @@ usage ()
fprintf (stderr," -n Reset P25 Heuristics and initState variables on mixed decoding signal\n");
fprintf (stderr," Helps when decoding multiple signal types at same time\n");
fprintf (stderr," (WiP! May Cause Slow Memory Leak - Experimental)\n");
fprintf (stderr," -Z Log MBE Payload to console\n");
fprintf (stderr,"\n");
fprintf (stderr,"Report bugs to: https://github.com/lwvmobile/dsd-fme/issues \n");
exit (0);
@@ -622,7 +623,7 @@ main (int argc, char **argv)
exitflag = 0;
signal (SIGINT, sigfun);
while ((c = getopt (argc, argv, "haep:P:qstv:z:i:o:d:c:g:nw:B:C:R:f:m:u:x:A:S:M:G:D:L:V:U:Y:NWrl")) != -1)
while ((c = getopt (argc, argv, "haep:P:qstv:z:i:o:d:c:g:nw:B:C:R:f:m:u:x:A:S:M:G:D:L:V:U:Y:NWrlZ")) != -1)
{
opterr = 0;
switch (c)
@@ -721,6 +722,11 @@ main (int argc, char **argv)
fprintf (stderr," - may need to issue 'reset' command in terminal after use\n");
break;
case 'Z':
opts.payload = 1;
fprintf (stderr,"Logging MBE Payload to console\n");
break;
case 'z':
sscanf (optarg, "%d", &opts.scoperate);
opts.errorbars = 0;