summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2018-03-30 18:51:39 -0700
committerRuss Allbery <eagle@eyrie.org>2018-03-30 18:52:17 -0700
commitb3c8b2556b6a7bf912c0452830c5969f133df69c (patch)
tree2eff913a482e011fc4abaff34b14b71a1d0845f8 /client
parentf68c339c3afb8dde5045718c1487cadc283d23e0 (diff)
Avoid fall-through in client/remctl.c
The current GCC doesn't like this, and it's easy to avoid, so just be more explicit.
Diffstat (limited to 'client')
-rw-r--r--client/remctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/remctl.c b/client/remctl.c
index 4530600..619c28e 100644
--- a/client/remctl.c
+++ b/client/remctl.c
@@ -7,6 +7,7 @@
*
* Originally written by Anton Ushakov
* Extensive modifications by Russ Allbery <eagle@eyrie.org>
+ * Copyright 2018 Russ Allbery <eagle@eyrie.org>
* Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013
* The Board of Trustees of the Leland Stanford Junior University
*
@@ -159,6 +160,8 @@ main(int argc, char *argv[])
break;
case '+':
fprintf(stderr, "%s: invalid option -- +\n", argv[0]);
+ usage(1);
+ break;
default:
usage(1);
break;