On Wed, 12 Nov 2025 18:33:13 +0530
Mohit Kumar Parjapat <[email protected]> wrote:

>  
> +static void
> +check_user_args(int argc, char **argv, uint8_t *arg_bitmap)
> +{
> +     int i;
> +
> +     for (i = 1; i < argc; i++) {
> +             if (strncmp(argv[i], "-l", 2) == 0)
> +                     *arg_bitmap |= ARG_C_FLAG;
> +             else if (strncmp(argv[i], "-n", 2) == 0)
> +                     *arg_bitmap |= ARG_N_FLAG;
> +     }
> +}
> +

There is no reason for the -n flag in this application.
Purely cargo-cult coding.

Reply via email to