diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2021-05-27 23:37:23 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2021-05-27 23:37:23 +0200 |
commit | df1df2929646abd77955b80e3ded3574ac005179 (patch) | |
tree | 9704901455843d41180a9402ed4c0012a1d67f04 /src/wine.c | |
parent | 68c20667ca775a4d4a7d1cfc3c9ec5c30f275084 (diff) | |
download | polecat-df1df2929646abd77955b80e3ded3574ac005179.tar.gz polecat-df1df2929646abd77955b80e3ded3574ac005179.zip |
allow flags to exit prematurely, move defines, add no networking flag
Diffstat (limited to 'src/wine.c')
-rw-r--r-- | src/wine.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -25,7 +25,8 @@ static const struct Command wine_commands[] = { }; static const struct Flag wine_flags[] = { - { .name = "help", .variant = TWO, .func = wine_help, .description = "show this message"} + { .name = "help", .variant = TWO, .returns = 1, .func = wine_help, .description = "show this message"}, + { .name = "no-net", .variant = TWO, .returns = 0, .func = set_no_net, .description = "run commands without commitment"} }; COMMAND_GROUP_FUNC(wine) |