Ville Skyttä 7ef492
From 3a205c536c3c811b393d635799d19cf9209ca84a Mon Sep 17 00:00:00 2001
Ville Skyttä 7ef492
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
Ville Skyttä 7ef492
Date: Tue, 3 Nov 2009 23:36:01 +0200
Ville Skyttä 7ef492
Subject: [PATCH] Fix service argument completion.
Ville Skyttä 7ef492
Ville Skyttä 7ef492
---
Ville Skyttä 7ef492
 bash_completion |    2 +-
Ville Skyttä 7ef492
 1 files changed, 1 insertions(+), 1 deletions(-)
Ville Skyttä 7ef492
Ville Skyttä 7ef492
diff --git a/bash_completion b/bash_completion
Ville Skyttä 7ef492
index e1c4054..6f1978c 100644
Ville Skyttä 7ef492
--- a/bash_completion
Ville Skyttä 7ef492
+++ b/bash_completion
Ville Skyttä 7ef492
@@ -757,7 +757,7 @@ deinstall clean clean-depends kernel buildworld' make
Ville Skyttä 7ef492
             _services
Ville Skyttä 7ef492
         else
Ville Skyttä 7ef492
             COMPREPLY=( $( compgen -W '`sed -ne "y/|/ /; \
Ville Skyttä 7ef492
-            s/^.*\(U\|msg_u\)sage.*{\(.*\)}.*$/\1/p" \
Ville Skyttä 7ef492
+            s/^.*\(U\|msg_u\)sage.*{\(.*\)}.*$/\2/p" \
Ville Skyttä 7ef492
             $sysvdir/${prev##*/} 2>/dev/null`' -- "$cur" ) )
Ville Skyttä 7ef492
         fi
Ville Skyttä 7ef492
 
Ville Skyttä 7ef492
-- 
Ville Skyttä 7ef492
1.7.0
Ville Skyttä 7ef492