aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJamie Landeg-Jones <jamie@catflap.org>2024-04-23 16:44:36 +0000
committerPiotr Pawel Stefaniak <pstef@FreeBSD.org>2024-05-06 17:13:35 +0000
commit3f0b80bc1537c257f3bd68592832ec8cb65e1c58 (patch)
treef5de616e342faad57cfa09bb8a840b4cc5620146 /bin
parent1314d14c32713b448738cc821c04a5e7482bb4af (diff)
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/ps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index cbee10c20d53..53ace6247b33 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -263,6 +263,8 @@ main(int argc, char *argv[])
else if (len <= 4 &&
strncasecmp(optarg, "both", len) == 0)
directions |= BOTH;
+ else
+ usage();
break;
}
case 'd':