Browse Source

Remove the nil arguments check to allow starting without parameters.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
6fdbe01412
  1. 2
      main.c

2
main.c

@ -2666,8 +2666,6 @@ int main (int argc, char *argv[])
opt_register_table(opt_cmdline_table, opt_register_table(opt_cmdline_table,
"Options for command line only"); "Options for command line only");
if (argc == 1)
quit(1, "No arguments specified");
opt_parse(&argc, argv, applog_and_exit); opt_parse(&argc, argv, applog_and_exit);
if (argc != 1) if (argc != 1)
quit(1, "Unexpected extra commandline arguments"); quit(1, "Unexpected extra commandline arguments");

Loading…
Cancel
Save