aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vtchs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtchs.c b/vtchs.c
index b2e67e0..6fd960d 100644
--- a/vtchs.c
+++ b/vtchs.c
@@ -27,7 +27,7 @@ main(int argc, char *argv[])
struct vt_stat s;
argv0 = *argv++, argc--;
- if (argc != (*argv && !strcmp(*argv, "=="))) {
+ if (argc != (*argv && !strcmp(*argv, "--"))) {
fprintf(stderr, "usage: %s\n", argv0);
exit(1);
}