diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2023-05-22 09:29:55 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2023-05-22 09:29:55 +0000 |
commit | 034ab8c566583a42e124adc41aa60bb944270501 (patch) | |
tree | 2d728d0aa65ce1946ca68480a2a2690d207a552e /distrib/special/sysctl/sysctl.c | |
parent | 3fc59a53604f87b7bbe836182ca3196a1d297b31 (diff) |
fix usage, name arg is optional
Diffstat (limited to 'distrib/special/sysctl/sysctl.c')
-rw-r--r-- | distrib/special/sysctl/sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/special/sysctl/sysctl.c b/distrib/special/sysctl/sysctl.c index 9156d5f455c..e7e946c3574 100644 --- a/distrib/special/sysctl/sysctl.c +++ b/distrib/special/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.14 2021/06/04 00:29:15 deraadt Exp $ */ +/* $OpenBSD: sysctl.c,v 1.15 2023/05/22 09:29:54 kn Exp $ */ /* * Copyright (c) 2009 Theo de Raadt <deraadt@openbsd.org> @@ -143,7 +143,7 @@ main(int argc, char *argv[]) nflag = 1; break; default: - fprintf(stderr, "usage: sysctl [-n] name\n"); + fprintf(stderr, "usage: sysctl [-n] [name]\n"); exit(1); } } |