ipfs name command line options processing

This commit is contained in:
jmjatlanta 2017-09-21 07:51:18 -05:00
parent a907f1dd2d
commit 2051f7714a
18 changed files with 278 additions and 53 deletions

View file

@ -16,7 +16,7 @@
* @param request the end result, something that can be passed on that actually does something
* @returns 0 if something bad happens, otherwise 1
*/
int cli_parse(char** params, FILE* inStream, struct Command* cmd, struct Request* request);
int cli_parse(int argc, char** params, FILE* inStream, struct Command** cmd, struct Request* request);
int cli_parse_opts(char** params, struct Command* cmd, char* path, char** stringVals);