Commit c9f42e92 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Unify arguments between git-supertree-rm & its completion function

parent 678a030e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -334,7 +334,7 @@ action_rm()
	local BRANCH DELETE
	while [[ $# -gt 0 ]]; do
		case $1 in
			--delete) DELETE=yes ;;
			--rm-branch) DELETE=yes ;;
			*) case '' in
				${BRANCH-}) BRANCH=$1 ;;
				*) arg_error "Unknown argument: $1" ;;
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ _git-supertree()

				(rm)
					_arguments \
						'--branch[Delete the branch as well as the working tree]' \
						'--rm-branch[Delete the branch as well as the working tree]' \
						':path:_directories' \
					;;
			esac