From d64457d8f9d3da4440eabbef4bdb6b7a50aa61fa Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Thu, 13 Feb 2025 20:59:32 +0000 Subject: [PATCH] Explain the "adminuser" argument in the help text --- bin/sokwedb-user-add.m4 | 5 +++++ bin/sokwedb-user-delete.m4 | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/bin/sokwedb-user-add.m4 b/bin/sokwedb-user-add.m4 index 00a1fa9..ef8d90b 100644 --- a/bin/sokwedb-user-add.m4 +++ b/bin/sokwedb-user-add.m4 @@ -43,6 +43,11 @@ echo ' --help Print this help' echo ' adminuser The user to use to make the user' echo ' username The username to add' echo ' group The group in which to put the user' +echo '' +echo 'The "adminuser" must be a user's admin role or a superuser, unless' +echo 'you are adding a user's admin role in which case it must be the' +echo 'sokwedb admin role or a superuser. In any case the "adminuser"' +echo 'must be a role that is never dropped.' } # Parse command line diff --git a/bin/sokwedb-user-delete.m4 b/bin/sokwedb-user-delete.m4 index 0d2ed51..88f16dd 100644 --- a/bin/sokwedb-user-delete.m4 +++ b/bin/sokwedb-user-delete.m4 @@ -36,6 +36,11 @@ echo ' -h host Connect to the pg server on "host"' echo ' --help Print this help' echo ' adminuser The user to use to delete the user' echo ' username The username to delete' +echo '' +echo 'The "adminuser" must be a user's admin role or a superuser, unless' +echo 'you are deleting a user's admin role in which case it must be the' +echo 'sokwedb admin role or a superuser. In any case the "adminuser"' +echo 'must be a role that is never dropped.' } # Parse command line -- 2.34.1