Skip to content

Commit

Permalink
civicrm-upgrade-examples - Tweak help
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Jul 21, 2022
1 parent 7122c40 commit 59d5879
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/civicrm-upgrade-examples
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ require_once dirname(__DIR__) . '/vendor/autoload.php';
main($argv);

function help($error = NULL) {
global $argv;
$prog = basename($argv[0]);

if ($error) {
fwrite(STDERR, $error);
}
echo "usage: pickFiles.php <fileExpr> ...\n";
echo "usage: $prog <fileExpr> ...\n";
echo "\n";
echo "<fileExpr> examples:\n";
echo " /var/foo.sql.gz A specific file\n";
Expand Down

0 comments on commit 59d5879

Please sign in to comment.