aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-19 16:49:07 +0100
committerMattias Andrée <maandree@kth.se>2021-02-19 16:49:07 +0100
commit413769599efaa9488cb5198dd5de32b582806467 (patch)
tree77152f808bdca382f668e047ac7020e3f28ade69
parentRemove old file (diff)
downloadvtchs-413769599efaa9488cb5198dd5de32b582806467.tar.gz
vtchs-413769599efaa9488cb5198dd5de32b582806467.tar.bz2
vtchs-413769599efaa9488cb5198dd5de32b582806467.tar.xz
Fix typo
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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);
}