shithub: riscv

Download patch

ref: 0e9c5f30eabbf213023658efb863dbaf6a608a51
parent: a7081490dbeda19788e6374a080ee38606aa3cd3
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Aug 12 16:54:45 EDT 2022

auth(8): sync usage messages for auth/box

--- a/sys/man/8/auth
+++ b/sys/man/8/auth
@@ -1,6 +1,6 @@
 .TH AUTH 8
 .SH NAME
-changeuser, convkeys, printnetkey, status, enable, disable, authsrv, guard.srv, debug, wrkey, login, newns, none, as \- maintain or query authentication databases
+changeuser, convkeys, printnetkey, status, enable, disable, authsrv, guard.srv, debug, wrkey, login, newns, none, box, as \- maintain or query authentication databases
 .SH SYNOPSIS
 .B auth/changeuser
 .RB [ -np ]
--- a/sys/src/cmd/auth/box.c
+++ b/sys/src/cmd/auth/box.c
@@ -143,7 +143,7 @@
 void
 usage(void)
 {
-	fprint(2, "usage %s: [ -r file ] [ -c dir ] [ -e devs ] cmd args...\n", argv0);
+	fprint(2, "usage %s: [ -s ] [ -rc file ] [ -e devs ] command arg ...\n", argv0);
 	exits("usage");
 }