summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bashrc-fedora2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc-fedora b/.bashrc-fedora
index afb9c9a..8f6206f 100644
--- a/.bashrc-fedora
+++ b/.bashrc-fedora
@@ -4,7 +4,7 @@ diralias ~/wrkspc/gkoji
pkg-which() {
local found=$(which "$1")
- [ -n "${found}" ] && found=$(man -w "$1" 2>/dev/null)
+ [ -n "${found}" ] && found=$(man -w -- "$1" 2>/dev/null)
[ -n "${found}" ] && rpm -qf "${found}" || { echo; repoquery -f "*/$1";}
}