summaryrefslogtreecommitdiffstats
path: root/src/modules/command/option.h
blob: 6b2108fb77454808c54fc17e0a42390c917c5d51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "common/option.h"

typedef struct FFCommandOptions {
    FFModuleArgs moduleArgs;

    FFstrbuf shell;
    FFstrbuf param;
    FFstrbuf text;
    bool useStdErr;
    bool parallel;
    bool splitLines;
} FFCommandOptions;

static_assert(sizeof(FFCommandOptions) <= FF_OPTION_MAX_SIZE, "FFCommandOptions size exceeds maximum allowed size");