Skip to content

Commit

Permalink
tg-{push,revert,summary}: accept --tgish for --tgish-only
Browse files Browse the repository at this point in the history
The documentation mentions using `--tgish` for `--tgish-only` in
at least one place.  It's an unambiguous shortcut option name,
therefore allow it everywhere `--tgish-only` is accepted.

Signed-off-by: Kyle J. McKay <[email protected]>
  • Loading branch information
mackyle committed Aug 24, 2021
1 parent 586c325 commit 7f624a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tg-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ while [ -n "$1" ]; do
opt4="$arg";;
-6|--ipv6)
opt6="$arg";;
--tgish-only)
--tgish-only|--tgish)
tgish_deps_only=1;;
-a|--all)
push_all=1;;
Expand Down
2 changes: 1 addition & 1 deletion tg-revert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ while [ $# -gt 0 ]; do case "$1" in
--rdeps)
rdeps=1
;;
--tgish-only)
--tgish-only|--tgish)
tgish=1
;;
-f|--force)
Expand Down
2 changes: 1 addition & 1 deletion tg-summary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ while [ -n "$1" ]; do
sort=1;;
--deps)
deps=1;;
--tgish-only)
--tgish-only|--tgish)
tgish=1;;
--deps-only)
head=HEAD
Expand Down

0 comments on commit 7f624a1

Please sign in to comment.