wip
This commit is contained in:
7
main.c
7
main.c
@@ -19,7 +19,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "edef.h"
|
||||
#include "globals.h"
|
||||
#include "proj.h"
|
||||
#include "shell.h"
|
||||
#include "usage.h"
|
||||
@@ -31,7 +30,6 @@ void usage(int status) {
|
||||
fputs(" -s enable shell creation mode\n", stdout);
|
||||
fputs(" -S enable shell creation mode as a full project\n",
|
||||
stdout);
|
||||
fputs(" -I ignore estruct.h and prompt for all\n", stdout);
|
||||
fputs(" --help display this help and exit\n", stdout);
|
||||
fputs(" --version output version information and exit\n", stdout);
|
||||
|
||||
@@ -61,8 +59,6 @@ int main(int argc, char **argv) {
|
||||
shell_mode = SINGLE;
|
||||
else if (argv[carg][1] == 'S')
|
||||
shell_mode = FULL;
|
||||
else if (argv[carg][1] == 'i')
|
||||
I = 1;
|
||||
else
|
||||
die("unknown option");
|
||||
} else
|
||||
@@ -72,9 +68,6 @@ int main(int argc, char **argv) {
|
||||
if (!package)
|
||||
die("no package name provided");
|
||||
|
||||
if (I)
|
||||
puts("'i' is not implemented yet");
|
||||
|
||||
if (shell_mode)
|
||||
makeshell(package, shell_mode);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user