diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-12-11 20:13:43 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-12-11 20:13:43 +0100 |
commit | 8dc996f6d89652d71c6c4fff87f7923bbfbb9a34 (patch) | |
tree | 66654d7fabd4a792989d7a32147ba688853c76fa /src/main.h | |
parent | 3b3d30aedf3d8762558e9aef846ca94dc492fa96 (diff) | |
download | polecat-8dc996f6d89652d71c6c4fff87f7923bbfbb9a34.tar.gz polecat-8dc996f6d89652d71c6c4fff87f7923bbfbb9a34.zip |
move command definitions (as well as helpers) to macros
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,9 @@ #ifndef MAIN_H #define MAIN_H -int main_help(int, char**); -int main_env(int, char**); +#include "command.h" + +COMMAND(main, env); +COMMAND(main, help); #endif
\ No newline at end of file |