bash_completion: add -B|--bookmark support for strip
authorSean Farley <sean.michael.farley@gmail.com>
Tue, 26 Nov 2013 14:38:14 -0600
changeset 20130 7c78c7eff119
parent 20129 da8fb88bd757
child 20131 56df59cc4212
bash_completion: add -B|--bookmark support for strip
contrib/bash_completion
--- a/contrib/bash_completion	Fri Nov 22 14:58:41 2013 -0500
+++ b/contrib/bash_completion	Tue Nov 26 14:38:14 2013 -0600
@@ -408,6 +408,10 @@
 
 _hg_cmd_strip()
 {
+    if [[ "$prev" = @(-B|--bookmark) ]]; then
+        _hg_bookmarks
+        return
+    fi
     _hg_labels
 }