Skip to content
Snippets Groups Projects
Verified Commit 3268c70a authored by ja3-saxby's avatar ja3-saxby
Browse files

Provide hard-coded dummy implementation of parse_arguments()

This sets argv[0] to "echo" always and returns 1 for argc, so we have something at least that works for demonstration (otherwise, load() will fail because there's no file name)
parent 3270b5ca
No related branches found
No related tags found
1 merge request!3Integrate argument parsing process
......@@ -2,5 +2,10 @@
int parse_arguments(const char* command_line, char**argv) {
#warning "Implement me"
/*
* XXX: Dummy implementation which sets argv[0] to "echo" so at least there's
* a filename to load.
*/
argv[0] = "echo";
return 1;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment