Files
MSP/mvm/core/mvm.c
T
2026-05-24 01:53:25 -04:00

39 lines
618 B
C

/*
* Copyright (c) 2026 Mirocom Laboratories and MSP engineers.
* All Rights Reserved.
*/
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include "mvm/balloon.h"
static void
help(void)
{
printf("usage: ./mvm [flags]\n");
printf("[-h] Display this help menu\n");
}
int
main(int argc, char **argv)
{
int opt;
if (argc < 2) {
printf("fatal: too few arguments\n");
help();
return -1;
}
while ((opt = getopt(argc, argv, "h")) != -1) {
switch (opt) {
case 'h':
help();
return -1;
}
}
return 0;
}