summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/clear.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/console-tools/clear.c b/console-tools/clear.c
index dba1056..b1641bd 100644
--- a/console-tools/clear.c
+++ b/console-tools/clear.c
@@ -28,6 +28,9 @@
extern int clear_main(int argc, char **argv)
{
+ if (argc > 1 && strcmp(argv[1], "--help") == 0)
+ usage(clear_usage);
+
printf("\033[H\033[J");
return(TRUE);
}