X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=tg-info.sh;h=b5b92f654116c852ddae266cbacb08765a914dfb;hb=112f06814e4abad03b37a90b181cdbc7a13267e2;hp=6c00d83b8804c2788665d17cc977ccf42dc556a8;hpb=cb7fbe721149d70d5f8eb3ca50b46585db07f314;p=topgit.git diff --git a/tg-info.sh b/tg-info.sh index 6c00d83..b5b92f6 100644 --- a/tg-info.sh +++ b/tg-info.sh @@ -12,7 +12,7 @@ while [ -n "$1" ]; do arg="$1"; shift case "$arg" in -*) - echo "Usage: tg info [NAME]" >&2 + echo "Usage: tg [...] info [NAME]" >&2 exit 1;; *) [ -z "$name" ] || die "name already specified ($name)" @@ -36,7 +36,7 @@ git cat-file blob "$name:.topmsg" | grep ^Subject: echo "Base: $base_rev" branch_contains "$name" "$base_rev" || - echo "* Base is newer than head! Please run \`tg update\`." + echo "* Base is newer than head! Please run \`$tg update\`." if has_remote "$name"; then echo "Remote Mate: $base_remote/$name"