StupidOS/sbin/boot-install/main.c

37 lines
578 B
C
Raw Normal View History

2024-05-28 04:54:10 +00:00
#include <stdio.h>
#include <stdlib.h>
static const char *prg_name = "boot-install";
static void
usage(int retval)
{
if (retval == EXIT_FAILURE)
{
fprintf(stderr, "Try '%s -h' for more informations.\n", prg_name);
}
else
{
printf("Usage: %s [-hV]\n", prg_name);
printf("Flags:\n");
printf("\t-h\tdisplay this menu.\n");
printf("\nReport bug to: <%s>\n", MK_BUGREPORT);
}
exit(retval);
}
static void
version(void)
{
printf("%s (%s) %s", prg_name, MK_PACKAGE, MK_COMMIT);
exit(EXIT_SUCCESS);
}
int
main(int argc, char **argv)
{
return (EXIT_SUCCESS);
}