* usr/bin/byobu.in, usr/share/man/man1/byobu.1: LP: #1483394

- byobu -h|--help enters manpage
This commit is contained in:
Dustin Kirkland 2015-08-31 08:56:15 -05:00
commit f285600b10
3 changed files with 12 additions and 1 deletions

2
debian/changelog vendored
View file

@ -5,6 +5,8 @@ byobu (5.95) unreleased; urgency=medium
- sum together all batteries
* usr/bin/byobu.in:
- ensure we start tmux with unicode support, LP: #1268072
* usr/bin/byobu.in, usr/share/man/man1/byobu.1: LP: #1483394
- byobu -h|--help enters manpage
[ Fortunato Ventre ]
* usr/lib/byobu/include/constants:

View file

@ -21,6 +21,15 @@
VERSION=5.95
PKG="byobu"
# Enter manpage if -h|--help is anywhere on the command line
for i in $@; do
case "$i" in
-h|--help)
exec man $PKG
;;
esac
done
# All sorts of things go wrong if you don't own your $HOME dir.
# This happens under sudo, if you don't use the -H option; Byobu will
# create a bunch of files in your $HOME which will be owned by root.

View file

@ -3,7 +3,7 @@
byobu \- wrapper script for seeding a user's byobu configuration and launching a text based window manager (either screen or tmux)
.SH SYNOPSIS
\fBbyobu\fP [screen options]
\fBbyobu\fP [options]
\fBbyobu\-screen\fP [screen options]