diff options
-rw-r--r-- | src/cmd/rio/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cmd/rio/main.c b/src/cmd/rio/main.c index 0e649054..f8251cd7 100644 --- a/src/cmd/rio/main.c +++ b/src/cmd/rio/main.c @@ -36,6 +36,7 @@ int _inset = 1; int curtime; int debug; int signalled; +int scrolling; int num_screens; int solidsweep = 0; int numvirtuals = 0; @@ -66,7 +67,7 @@ char *fontlist[] = { void usage(void) { - fprintf(stderr, "usage: rio [-grey] [-version] [-font fname] [-term prog] [-virtuals num] [exit|restart]\n"); + fprintf(stderr, "usage: rio [-grey] [-font fname] [-s] [-term prog] [-version] [-virtuals num] [exit|restart]\n"); exit(1); } @@ -113,6 +114,9 @@ main(int argc, char *argv[]) fprintf(stderr, "\n"); exit(0); } + else if (strcmp(argv[i], "-s") == 0) { + scrolling = 1; + } else if (argv[i][0] == '-') usage(); else |