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/lutris.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/lutris.c')
-rw-r--r-- | src/lutris.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lutris.c b/src/lutris.c index b7c4da6..d885ae8 100644 --- a/src/lutris.c +++ b/src/lutris.c @@ -17,7 +17,8 @@ static const struct Command lutris_commands[] = { }; static const struct Flag lutris_flags[] = { - { .name = "help", .variant = TWO, .func = lutris_help, .description = "show this message"} + { .name = "help", .variant = TWO, .returns = 1, .func = lutris_help, .description = "show this message"}, + { .name = "no-net", .variant = TWO, .returns = 0, .func = set_no_net, .description = "run commands without commitment"} }; static char* getpwd() |