summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-12-01 21:19:54 +0200
committerVille Skyttä <ville.skytta@iki.fi>2011-12-01 21:19:54 +0200
commit86d0395fc5efbeef9aad8cc27e84270f7c59faa1 (patch)
tree039cc9dd41dc29db3b146112798d29d499932f76
parent6a713c316f64197b2e535ce85679c1f9f5b1824e (diff)
downloadbash-completion-86d0395fc5efbeef9aad8cc27e84270f7c59faa1.tar.gz
rpm: Treat -r as --root (RedHat: #759224).
-rw-r--r--completions/rpm2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/rpm b/completions/rpm
index 7a19d814..b7b59e0e 100644
--- a/completions/rpm
+++ b/completions/rpm
@@ -67,7 +67,7 @@ _rpm()
fi
case $prev in
- --dbpath|--excludepath|--prefix|--relocate|--root)
+ --dbpath|--excludepath|--prefix|--relocate|--root|-r)
_filedir -d
return 0
;;