Allow optional arguments in the config file
authorKevin Cernekee <cernekee@gmail.com>
Mon, 8 Oct 2012 01:03:41 +0000 (18:03 -0700)
committerKevin Cernekee <cernekee@gmail.com>
Sat, 13 Oct 2012 21:23:05 +0000 (14:23 -0700)
commit286e2f333b4e093d91f5aad850a6cf121c87efe7
treee6e4aaacd4168cd9d2f8ce89aed9359eb20ee489
parenta0dcd34e681e0b36ce1030da1f62ca94ec7d10ed
Allow optional arguments in the config file

getopt_long() treats an argument as optional if has_arg == 2.  Extend
this feature to the config file parser as well.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
main.c