5e63e9ec9b
A new help command has been added which either shows the toolbox(1) manual or a manual page for a specific command. The '--help' flag is now identical to the help command and can be placed after the COMMAND segment in the list of command line arguments. Due to a bizarre quirk in less(1) [1], the default pager used to render manuals on most systems, the man(1) invocations need the standard error stream to point to the controlling terminal, if any, to work. This interferes with the global redirection of standard error to /dev/null in the absence of the '--verbose' flag, and is worked around by redirecting to standard output instead. [1] It turns out that less(1) tries to open the controlling terminal device /dev/tty to get to the keyboard for accepting input. However, it doesn't have a controlling terminal when invoked via D-Bus to render a manual on the host. It then strangely falls back to using the standard error stream to get to the keyboard. https://github.com/debarshiray/toolbox/pull/200 |
||
---|---|---|
.. | ||
meson.build | ||
toolbox-create.1.md | ||
toolbox-enter.1.md | ||
toolbox-help.1.md | ||
toolbox-init-container.1.md | ||
toolbox-list.1.md | ||
toolbox-rm.1.md | ||
toolbox-rmi.1.md | ||
toolbox-run.1.md | ||
toolbox.1.md |