From: Michael Vrable Date: Fri, 10 Aug 2007 18:18:49 +0000 (-0700) Subject: Include version number in usage message. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=32aa98e57ac144ae36a10831c4961ac08e2b9d6c;p=cumulus.git Include version number in usage message. --- diff --git a/scandir.cc b/scandir.cc index d91701f..2d5a3a8 100644 --- a/scandir.cc +++ b/scandir.cc @@ -559,6 +559,7 @@ void usage(const char *program) { fprintf( stderr, + "LBS %s\n\n" "Usage: %s [OPTION]... --dest=DEST PATHS...\n" "Produce backup snapshot of files in SOURCE and store to DEST.\n" "\n" @@ -572,7 +573,7 @@ void usage(const char *program) " string to append to segment files\n" " (defaults to \".bz2\")\n" " --scheme=NAME optional name for this snapshot\n", - program + lbs_version, program ); }