diff options
Diffstat (limited to 'userspace/fsh.c')
| -rw-r--r-- | userspace/fsh.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/userspace/fsh.c b/userspace/fsh.c index 62cd27e..76c0954 100644 --- a/userspace/fsh.c +++ b/userspace/fsh.c @@ -33,6 +33,7 @@ void version() { puts("Fool's Shell version git-commit:" GIT_REVISION "\ncompiled on " __DATE__ " at " __TIME__); } + void help() { puts( "\nfoolshell: supported built-in commands/functions:\n\n" @@ -58,6 +59,8 @@ void prompt() int main(int argc, char **argv) { + while(1); + for(int i=0;i<argc;i++) { if(!strcmp(argv[i],"--version")) @@ -242,7 +245,7 @@ bool process(char *buf) int last=0; for(last=0;token[last+1]!=NULL;last++); - printf("last: %s\n",token[last]); + //printf("last: %s\n",token[last]); if(strcmp(token[last],"&"))_wait(pid); } |
