usr/bin/byobu: allow for -xS or the like, LP: #684926

This commit is contained in:
Dustin Kirkland 2010-12-28 10:30:55 -06:00
commit 2ea6e92783
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (3.20) unreleased; urgency=low byobu (3.20) unreleased; urgency=low
* usr/lib/byobu/network: drop unnecessary unit=kbps * usr/lib/byobu/network: drop unnecessary unit=kbps
* usr/bin/byobu: allow for -xS or the like, LP: #684926
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 28 Dec 2010 00:05:13 -0600 -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 28 Dec 2010 00:05:13 -0600

View file

@ -79,7 +79,7 @@ PROFILE="-c $BYOBU_PREFIX/share/$PKG/profiles/byoburc"
NAME="-S $PKG" NAME="-S $PKG"
# Zero out $NAME if user has specified a -S # Zero out $NAME if user has specified a -S
for i in $@; do for i in $@; do
case $i in -S|-ls|-list) NAME= ;; esac case $i in -*S|-ls|-list) NAME= ;; esac
done done
# Now let's execute screen! # Now let's execute screen!
if [ "$#" = "0" ]; then if [ "$#" = "0" ]; then