summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJamie Landeg-Jones <jamie@catflap.org>2024-04-23 16:44:36 +0000
committerOlivier Certner <olce@FreeBSD.org>2025-05-01 19:35:07 +0000
commit93ef18f9e83b15cfa3d844d9624462703caee381 (patch)
tree126e16484bbce8bf2c17793381e6b46b3bb14aad /bin
parent0a1d13469cd8f3561d676c7438d7abec0964dd3f (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 16d8a0a58d3c..897b4ccd9a92 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -276,6 +276,8 @@ main(int argc, char *argv[])
else if (len <= 4 &&
strncasecmp(optarg, "both", len) == 0)
directions |= BOTH;
+ else
+ usage();
break;
}
case 'd':