X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=bin%2Fcli-server;h=05d700b8137ec7e1a7b67c177712c39494677787;hb=6478b415c59070f70ed860f3a592377eef9783b1;hp=15b4b55939fea41497b6436e11b4d7c271df8e96;hpb=da32cc003ce0fce6fae3139e803b7550efa89ad8;p=mdref%2Fmdref diff --git a/bin/cli-server b/bin/cli-server index 15b4b55..05d700b 100755 --- a/bin/cli-server +++ b/bin/cli-server @@ -35,8 +35,11 @@ then printf "\t list of those (optional, multiple)\n\n" printf "Environment:\n" printf "\tREFPATH colon separated list of refpaths\n\n" - printf "At least one refpath must be given, either through the environment " - printf "with REFPATH or as command line argument.\n\n" + printf "Examples:\n" + printf "\t\$ REFPATH=refs/foo:refs/bar ./bin/cli-server\n\n" + printf "\t\$ ./bin/cli-server refs/*\n\n" + printf "\tAt least one refpath must be given, either through the environment\n" + printf "\twith REFPATH or as command line argument.\n\n" exit 1 fi