X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=blobdiff_plain;f=tg-update.sh;h=73280c65af79af2da50204582c7029a00cfcef34;hp=34fa6dcb10f59799e0df977e98544483cff3fc30;hb=efae1bea08a1149b3c374c3dfd3da51e290ed295;hpb=54f24fdf5691baa3dcc7252098efd13cc4fc1620 diff --git a/tg-update.sh b/tg-update.sh index 34fa6dc..73280c6 100644 --- a/tg-update.sh +++ b/tg-update.sh @@ -9,7 +9,7 @@ name= ## Parse options if [ -n "$1" ]; then - echo "Usage: tg update" >&2 + echo "Usage: tg [...] update" >&2 exit 1 fi @@ -54,12 +54,12 @@ if [ -s "$depcheck" ]; then ( export TG_RECURSIVE="[$dep] $TG_RECURSIVE" export PS1="[$dep] $PS1" - while ! tg update; do + while ! $tg update; do # The merge got stuck! Let the user fix it up. info "You are in a subshell. If you abort the merge," info "use \`exit 1\` to abort the recursive update altogether." if ! sh -i