From 259475bfe6ee5d4b1e56f814952798f878eee5df Mon Sep 17 00:00:00 2001 From: Connor Date: Thu, 18 Aug 2016 20:04:48 -0700 Subject: [PATCH] --- kyaa.h | 2 -- kyaa.md | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/kyaa.h b/kyaa.h index a90b4a9..ff8afcd 100644 --- a/kyaa.h +++ b/kyaa.h @@ -21,11 +21,9 @@ fprintf(stderr, "You've met with a terrible fate.\n"); \ return KYAA_ERROR; \ } \ - /* read-only */ \ char *kyaa_name = argv[0]; \ bool kyaa_read_stdin = false; \ char kyaa_flag = '\0'; \ - /* internal */ \ bool kyaa_keep_parsing = true; \ bool kyaa_parse_next = false; \ diff --git a/kyaa.md b/kyaa.md index 190eba6..9750ce0 100644 --- a/kyaa.md +++ b/kyaa.md @@ -10,8 +10,8 @@ standard library headers: * `errno.h` * `stdbool.h` * `stdio.h` -* `string.h` * `stdlib.h` +* `string.h` ## tutorial/API @@ -115,4 +115,5 @@ kyaa prints error messages to `stderr`, and help text to `stdout`. * support `--var=42` argument style * rename overlapping things, e.g. `KYAA_FLAG` vs `kyaa_flag`, `KYAA_FLAG_ARG` vs `kyaa_flag_arg`, etc. +* replace `strtol` with something more user-friendly (thereby don't require `stdlib.h` or `errno.h`) * move `KYAA_FLAG_LONG` to `kyaa_extend.h` or something; write similar macros. \ No newline at end of file