cleanup unused function

This commit is contained in:
phixxy 2026-03-20 17:02:09 -07:00
parent f588165dbe
commit 63c3474d9b

View file

@ -17,23 +17,6 @@ struct Flags
}; };
int handle_args(int argc, char *argv[])
{
if (argc == 1)
{
//launch ed
printf("NO ARGS!");
return 0;
}
for (int i = 1; i < argc; i++)
{
printf("arg %d: %s\n", i, argv[i]);
}
return 0;
}
void set_editor(struct Flags *f) void set_editor(struct Flags *f)
{ {
char *ed; char *ed;
@ -120,13 +103,16 @@ int main(int argc, char *argv[])
switch (arg) switch (arg)
{ {
case 'c': case 'c':
//delete all .skratch files
printf("CLEAR!\n"); printf("CLEAR!\n");
break; break;
case 'l': case 'l':
//list all .skratch files
printf("LIST!\n"); printf("LIST!\n");
break; break;
case 'v': case 'v':
//use visual editor
printf("VISUAL!\n"); printf("VISUAL!\n");
break; break;
default: default: