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