Added Help to the help

This commit is contained in:
netbenixcn 2020-06-02 12:05:14 +02:00
parent 70add94920
commit 1d050f4808
12 changed files with 15 additions and 9 deletions

7
main.c
View file

@ -10,13 +10,9 @@
#include <gdk/gdk.h>
#include <gdk/gdkconfig.h>
#include <gtk/gtk.h>
#endif
#include "commands/test_gtk.h"
#endif
#include "etc/logo.h"
#include "utils/logger.h"
#include "utils/os_info.h"
@ -47,10 +43,11 @@ int main(int argc, char *argv[]){
logger("Logo Displayed.");
if(!strcmp(argv[1], "--help")){
logger("Showing Help");
outputHelp();
} else if (!strcmp(argv[1], "--gtk-test")){
#ifdef linux
createTestWindow();
createGTKTestWindow();
#else
printf("[ERROR] gtk-test is linux only.\n");
logger("[ERROR] gtk-test is linux only.");