diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-12 01:25:10 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-10-12 02:39:16 +0200 |
commit | 3d53b2c131914da48fe8873f4133995bd42dbdcc (patch) | |
tree | 0d900bc116acee50b6ae467e548b3e8e84175983 /src/transform.c | |
parent | 627c296057a91e73d3cd1631caa1e61ad4f2d124 (diff) | |
download | tdv-3d53b2c131914da48fe8873f4133995bd42dbdcc.tar.gz tdv-3d53b2c131914da48fe8873f4133995bd42dbdcc.tar.xz tdv-3d53b2c131914da48fe8873f4133995bd42dbdcc.zip |
Fix g_option_context_get_help() usage
Diffstat (limited to 'src/transform.c')
-rw-r--r-- | src/transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transform.c b/src/transform.c index 38bdad6..ba33dee 100644 --- a/src/transform.c +++ b/src/transform.c @@ -155,7 +155,7 @@ main (int argc, char *argv[]) fatal ("Error: option parsing failed: %s\n", error->message); if (argc < 3) - fatal ("%s", g_option_context_get_help (ctx, TRUE, FALSE)); + fatal ("%s", g_option_context_get_help (ctx, TRUE, NULL)); // GLib is bullshit, getopt_long() always correctly removes this gint program_argv_start = 3; |