diff options
| -rw-r--r-- | nm.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -17,7 +17,8 @@ #include <readline/readline.h> #include <readline/history.h> -#define MAX_ALIASES 256 +#define NOSHMORE_VERSION 2 +#define MAX_ALIASES 256 typedef struct { char *dst; @@ -117,7 +118,7 @@ int main(void) } else if (strcmp(p.we_wordv[0], "help") == 0) { printf( - "noshmore\tALIASES(%d)\n" + "noshmore\tVERSION(%d)\tALIASES(%d)\n" "an extended version of nosh, the minimal POSIX C shell.\n" "\n" "built-ins:\n" @@ -129,7 +130,7 @@ int main(void) "cd -> change working directory\n" "help -> prints this screen\n" "\ngithub repo: github.com/jstmaxlol/noshmore\n" - , MAX_ALIASES + , NOSHMORE_VERSION, MAX_ALIASES ); } else { |