Fix bug in argument parsing.
[cascardo/libreceita.git] / rnetclient.c
index aa65055..181ac2f 100644 (file)
@@ -1,5 +1,7 @@
 /*
- *  Copyright (C) 2012-2013  Thadeu Lima de Souza Cascardo <cascardo@minaslivre.org>
+ *  Copyright (C) 2012-2014  Thadeu Lima de Souza Cascardo <cascardo@minaslivre.org>
+ *  Copyright (C) 2014  Alexandre Oliva <lxoliva@fsfla.org>
+ *  Copyright (C) 2014  Sergio Durigan Junior <sergiodj@sergiodj.net>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -49,7 +51,7 @@ static const char rnetclient_args_doc[] =
 /* Description and definition of each option accepted by the program.  */
 
 static const struct argp_option rnetclient_options_desc[] = {
-       { "declaration", 'd', "FILE", OPTION_ARG_OPTIONAL,
+       { "declaration", 'd', "FILE", 0,
          "The Income Tax Report file that will be sent.",
          0 },