iftop: make commands in caveats copy/paste-friendly

Closes Homebrew/homebrew#33662.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jon Chen 2014-10-27 21:22:14 -04:00 committed by Jack Nagel
parent 5d55fc8f7f
commit aa87940b8b

View file

@ -18,8 +18,9 @@ class Iftop < Formula
def caveats; <<-EOS.undent def caveats; <<-EOS.undent
iftop requires superuser privileges. You can either run the program iftop requires superuser privileges. You can either run the program
via `sudo`, or change its ownership to root and set the setuid bit: via `sudo`, or change its ownership to root and set the setuid bit:
$ sudo chown root:wheel #{sbin}/iftop
$ sudo chmod u+s #{sbin}/iftop sudo chown root:wheel #{sbin}/iftop
sudo chmod u+s #{sbin}/iftop
In any case, you should be certain that you trust the software you In any case, you should be certain that you trust the software you
are executing with elevated privileges. are executing with elevated privileges.