diff options
-rw-r--r-- | src/usleep.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usleep.c b/src/usleep.c index 7d56599c..206d07b9 100644 --- a/src/usleep.c +++ b/src/usleep.c @@ -17,11 +17,14 @@ int main(int argc, char **argv) { unsigned long count; poptContext optCon; int showVersion = 0; + int showOot = 0; int rc; char * countStr = NULL; struct poptOption options[] = { { "version", 'v', POPT_ARG_NONE, &showVersion, 0, "Display the version of this program, and exit" }, + { "oot", 'o', POPT_ARG_NONE, &showOot, 0, + "oot says hey!" }, POPT_AUTOHELP { 0, 0, 0, 0, 0 } }; @@ -42,6 +45,11 @@ int main(int argc, char **argv) { return 0; } + if (showOot) { + printf("oot says hey!\n"); + return 0; + } + countStr = poptGetArg(optCon); if (countStr == NULL) count = 1; |