diff options
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c index fdc30af..66a470b 100644 --- a/src/common.c +++ b/src/common.c @@ -9,6 +9,14 @@ #include "common.h" +uint8_t no_net = 0; + +int set_no_net(UNUSED int argc, UNUSED char** argv) +{ + no_net = 1; + return 0; +} + void print_help(const struct Command* commands, const size_t commands_size, const struct Flag* flags, size_t flags_size) { |