X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=tg-patch.sh;h=7a2471827d1e27db9a520f51541cecc4dd69c12a;hb=67921ef309b025a2fea1c2311f93566ba2807b57;hp=48f4d770059bc7e7cb99bd8b005ad1ae1aeb932e;hpb=a93c254df082ee5b1c6599e0ff045a6e1e203665;p=topgit.git diff --git a/tg-patch.sh b/tg-patch.sh index 48f4d77..7a24718 100644 --- a/tg-patch.sh +++ b/tg-patch.sh @@ -12,7 +12,7 @@ while [ -n "$1" ]; do arg="$1"; shift case "$arg" in -*) - echo "Usage: tg patch [NAME]" >&2 + echo "Usage: tg [...] patch [NAME]" >&2 exit 1;; *) [ -z "$name" ] || die "name already specified ($name)" @@ -43,4 +43,4 @@ rm "$git_is_stupid" echo '-- ' echo "tg: ($base_rev..) $name (depends on: $(git cat-file blob "$name:.topdeps" | paste -s -d' '))" branch_contains "$name" "$base_rev" || - echo "tg: The patch is out-of-date wrt. the base! Run \`tg update\`." + echo "tg: The patch is out-of-date wrt. the base! Run \`$tg update\`."