[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-161-gef559be

Ian Beckwith ianb at erislabs.net
Sat Feb 19 04:06:35 UTC 2011


The following commit has been merged in the master branch:
commit de9554ec652e9b7f6644b5742aac1fc2ad0688a5
Author: Ian Beckwith <ianb at erislabs.net>
Date:   Sat Feb 19 03:52:06 2011 +0000

    debbugs: add -s as an alias for -search=src

diff --git a/ChangeLog b/ChangeLog
index 0eae6c0..bbc00a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
 	* lastfm: fix url to avoid a redirect that mangled
 	  args with spaces.
+	* debbugs: add -s as an alias for -search=src.
 
 2011-02-09  Kyle Isom <coder at kyleisom.net>
 
diff --git a/elvi/debbugs b/elvi/debbugs
index 6a79ee4..b05ed84 100755
--- a/elvi/debbugs
+++ b/elvi/debbugs
@@ -45,18 +45,19 @@ Local options:
   -search= pkg          |       Search type.
            src          |
            bug          |       (bug number)
-           maint        | 
+           maint        |
            tag          |
            submitter    |
            severity     |
            tag
+  -s                            Alias for -search=src
   -version=VERSION              Package version.
   -dist=oldstable        |      Distribution
         stable           |
         proposed-updates |
         testing          |
         unstable         |
-        experimental     | 
+        experimental     |
         testing-proposed-updates
   -arc                          Show archived bugs.
   -raw                          Do not sort by status or severity.
@@ -96,6 +97,7 @@ w3_parse_option_hook () {
     opt="$1"
     optarg="$2"
     case "$opt" in
+	-s)          setopt   SURFRAW_debbugs_search     src    ; setoptyn setsearch 1  ;;
 	-se*=*)      setopt   SURFRAW_debbugs_search     $optarg; setoptyn setsearch 1  ;;
 	-ve*=*)      setopt   SURFRAW_debbugs_version    $optarg ;;
 	-dis*=*)     setopt   SURFRAW_debbugs_dist       $optarg ;;

-- 
surfraw -  a fast unix command line interface to WWW



More information about the Surfraw-commits mailing list