diff --git a/hello.c b/hello.c index 3a47ea5..3f05026 100644 --- a/hello.c +++ b/hello.c @@ -1,5 +1,13 @@ #include +#include int main(int argc, char **argv) { + + if (argc > 1) { + printf("Usage: %s\n", argv[0]); + exit(-1); + } + printf("Hello world!\n"); + }