diff options
author | Elliott Hughes <enh@google.com> | 2018-12-04 14:22:12 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-12-04 17:08:19 -0600 |
commit | 141a075c0e192dc9910e777270114b1864270bfd (patch) | |
tree | 2d62f0cedc34773310b23b3d8f55f577cbbaf9db /toys/other/nsenter.c | |
parent | bcf244f3e6ff3c76536063bc5f7d684c6fd4e3fd (diff) | |
download | toybox-141a075c0e192dc9910e777270114b1864270bfd.tar.gz |
Clean up some --help formatting.
Be consistent about upper versus lower case. (Upper seems to have the
majority, so I went with that, though I'm happy to provide the opposite
patch as long as we're consistent!)
Be consistent about using \t. (Though saving a few bytes seems like it
might be better done in the code that generates help.h rather than
directly in the source, since tabs make careful ASCII art layout hard
enough that we regularly have things misaligned.)
Remove trailing periods (most of which seem to have been added by me).
Always use the US "human readable" rather than my British
"human-readable", and be more consistent about declaring whether we're
showing multiples of 1000 or 1024.
Just say "verbose" rather than adding a useless "mode" or "output".
Diffstat (limited to 'toys/other/nsenter.c')
-rw-r--r-- | toys/other/nsenter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toys/other/nsenter.c b/toys/other/nsenter.c index 007e0556..dfcfbe83 100644 --- a/toys/other/nsenter.c +++ b/toys/other/nsenter.c @@ -25,7 +25,7 @@ config UNSHARE Create new container namespace(s) for this process and its children, so some attribute is not shared with the parent process. - -f Fork command in the background (--fork) + -f Fork command in the background (--fork) -i SysV IPC (message queues, semaphores, shared memory) (--ipc) -m Mount/unmount tree (--mount) -n Network address, sockets, routing, iptables (--net) @@ -46,8 +46,8 @@ config NSENTER Run COMMAND in an existing (set of) namespace(s). - -t PID to take namespaces from (--target) - -F don't fork, even if -p is used (--no-fork) + -t PID to take namespaces from (--target) + -F don't fork, even if -p is used (--no-fork) The namespaces to switch are: |