diff --git a/builtin.c b/builtin.c index 088ed59..a467cac 100644 --- a/builtin.c +++ b/builtin.c @@ -42,7 +42,22 @@ int dish_cd(char **args) { } int dish_help(char **args) { - fprintf(stdout, "Yet another Shell with C.\n"); + fprintf(stdout, \ + "Yet another Shell with C.\n\ + CopyRight (C) 2022-2033 1ridic\n\ + Compiled on %s\n\ + Compiler version %s\n\ + Enabled features:\ + ", \ + __TIMESTAMP__, __VERSION__); + + #ifdef DEBUG + fprintf(stdout, "DEBUG "); + #endif + #ifdef POSTGRES + fprintf(stdout, "POSTGRES "); + #endif + fprintf(stdout, "\n"); return 0; }