bash_completion: add -l|--list support for shelve
authorSean Farley <sean.michael.farley@gmail.com>
Fri, 06 Jun 2014 00:21:46 -0500
changeset 21719 28ecdf3fa1db
parent 21718 bc773e9505e3
child 21720 db2392a4effc
bash_completion: add -l|--list support for shelve This was overlooked previously and found via 'hg shelve -p -l <tab>' (to show the diff of the shelved commit).
contrib/bash_completion
--- a/contrib/bash_completion	Sat May 31 21:21:06 2014 +0900
+++ b/contrib/bash_completion	Fri Jun 06 00:21:46 2014 -0500
@@ -629,7 +629,7 @@
 
 _hg_cmd_shelve()
 {
-    if [[ "$prev" = @(-d|--delete) ]]; then
+    if [[ "$prev" = @(-d|--delete|-l|--list) ]]; then
         _hg_shelves
     else
         _hg_status "mard"