]> git.wh0rd.org Git - home.git/commitdiff
cros-repo: add -e email option
authorMike Frysinger <vapier@gentoo.org>
Thu, 18 Apr 2013 22:37:34 +0000 (18:37 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 18 Apr 2013 22:37:34 +0000 (18:37 -0400)
.bin/cros-repo

index d718af5fdc0a2c928ffe86836285747c174c88a6..2a66528b74ebbe33685385109bcc5580db2dbfc4 100755 (executable)
@@ -12,6 +12,7 @@ usage() {
           -r <path>      patch to reference repo (e.g. ~/chromiumos/)
           -g <group>
           -m <manifest>
+          -e <email>
 
        Operates on the repo in ${PWD}
        EOF
@@ -48,7 +49,6 @@ while [[ $# -gt 0 ]] ; do
                shift
                ;;
        -r)
-
                REF=$(realpath "${2:-$(echo ~/chromiumos)}")
                shift
                ;;
@@ -60,6 +60,10 @@ while [[ $# -gt 0 ]] ; do
                MANIFEST_NAME="${2%.xml}.xml"
                shift
                ;;
+       -e)
+               email=$2
+               shift
+               ;;
        *)
                usage
                ;;