# HG changeset patch # User William Astle # Date 1512278911 25200 # Node ID 96a05e89ab03bd306f1e1aebab7df271a37bca1c # Parent 3cd8aa013b88b24ca0fd2ad54ff79baedef7f7cb Fix command line bug in lwar lwar wasn't properly handling lw_cmdline_key_end so when bugs with bailout handling in lw_cmdline were fixed, lwar broke. This should fix it. diff -r 3cd8aa013b88 -r 96a05e89ab03 lwar/main.c --- a/lwar/main.c Thu Nov 30 17:38:24 2017 -0700 +++ b/lwar/main.c Sat Dec 02 22:28:31 2017 -0700 @@ -96,6 +96,9 @@ archive_file = arg; break; + case lw_cmdline_key_end: + break; + default: return lw_cmdline_err_unknown; } @@ -143,6 +146,7 @@ int main(int argc, char **argv) { program_name = argv[0]; + if (lw_cmdline_parse(&argparser, argc, argv, 0, 0, NULL) != 0) { exit(1);