Add --unmerged, self document --wip
Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org>
Change-Id: I6d02985c7ae31bc9cddeac685622dbae0284fdb3
diff --git a/gerrit/bin/gerrit.sh b/gerrit/bin/gerrit.sh
index 572d1d3..4e51869 100755
--- a/gerrit/bin/gerrit.sh
+++ b/gerrit/bin/gerrit.sh
@@ -309,7 +309,7 @@
--todo) source "$root/gerrit/todo.sh" ;;
- --wip)
+ --unmerged|--wip)
declare -a args=()
args=('--status' 'open')
[[ $# -gt 0 ]] && { args+=("$@"); }
diff --git a/gerrit/gerrit/usage/main.sh b/gerrit/gerrit/usage/main.sh
index 5fe3cd3..7a9f4ed 100644
--- a/gerrit/gerrit/usage/main.sh
+++ b/gerrit/gerrit/usage/main.sh
@@ -44,6 +44,7 @@
--serv Gerrit server name
--search
+ --unresolved Alias for --wip
--wip Query for open/unmerged patches.
--admins a