Added argument parameters.

This commit is contained in:
2019-03-22 11:58:19 +01:00
parent 41fd95fde9
commit 5161b37943
4 changed files with 102 additions and 3 deletions

View File

@@ -16,8 +16,17 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "args.h"
#include <stdio.h>
#include <readline/readline.h>
int main(int argc, char *argv[]) {
struct arguments arguments;
arguments.verbose = 0;
arguments.script_file = NULL;
arguments.playlist_file = NULL;
argp_parse(&argp, argc, argv, 0, 0, &arguments);
return 0;
}