Thread (18 messages) 18 messages, 2 authors, 2020-07-17

Re: [PATCH 16/16] capsh.c: Spelling fixes in usage() message

From: Michael Kerrisk (man-pages) <hidden>
Date: 2020-07-17 06:01:56

On Thu, 16 Jul 2020 at 17:08, Andrew G. Morgan [off-list ref] wrote:
Thanks! Applied all of them except 07_16. Instead, I've hopefully
clarified the intent of the text with some quotes.
Okay. Thanks, Andrew.

Cheers,

Michael
https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=34e4e00b983a2c0fc5f13b403871a8fb5860bb89

On Thu, Jul 16, 2020 at 3:19 AM Michael Kerrisk (man-pages)
[off-list ref] wrote:
quoted
Signed-off-by: Michael Kerrisk (man-pages) <redacted>
---
 progs/capsh.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/progs/capsh.c b/progs/capsh.c
index 94bf57d..7bed98e 100644
--- a/progs/capsh.c
+++ b/progs/capsh.c
@@ -879,10 +879,10 @@ int main(int argc, char *argv[], char *envp[])
                   "  --delamb=xxx   remove xxx,... capabilities from ambient\n"
                   "  --noamb        reset (drop) all ambient capabilities\n"
                   "  --caps=xxx     set caps as per cap_from_text()\n"
-                  "  --inh=xxx      set xxx,.. inheritiable set\n"
+                  "  --inh=xxx      set xxx,.. inheritable set\n"
                   "  --secbits=<n>  write a new value for securebits\n"
                   "  --iab=...      use cap_iab_from_text() to set iab\n"
-                  "  --keep=<n>     set keep-capabability bit to <n>\n"
+                  "  --keep=<n>     set keep-capability bit to <n>\n"
                   "  --uid=<n>      set uid to <n> (hint: id <username>)\n"
                   "  --cap-uid=<n>  libcap cap_setuid() to change uid\n"
                   "  --is-uid=<n>   exit 1 if uid != <n>\n"
--
2.26.2


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help