Skip to content
Snippets Groups Projects
Commit 0c7f5e64 authored by Karl Fogel's avatar Karl Fogel
Browse files

Change from Melissa O'Neill <oneill@cs.sfu.ca>:

Use a `here document' for the help message.
parent 3d4b232b
No related branches found
No related tags found
No related merge requests found
......@@ -514,24 +514,25 @@ sub version ()
sub usage ()
{
&version ();
print "\n";
print "Generates GNU-style ChangeLog files from CVS log information.\n";
print "Requires repository access (\'cvs log\' must work). Basic usage:\n";
print "just run it inside a working copy and a ChangeLog will appear.\n";
print "\n";
print "Options:";
print "\n";
print " -h, -help, --help, or -?: Show this usage and exit\n";
print " --version: Show version and exit\n";
print " -d, --distributed: Put ChangeLogs in subdirs\n";
print " --stdin: Read from stdin, don't run cvs log\n";
print " --stdout: Output to stdout not to ChangeLog\n";
print " -f FILE, --file FILE: Use FILE instead of \"ChangeLog\"\n";
print " --prune: Don't show empty log messages\n";
print " -g OPTS, --global-opts OPTS: Run \"cvs OPTS log ...\"\n";
print " -l OPTS, --log-opts OPTS: Run \"cvs ... log OPTS\"\n";
print "\n";
print "Maintainer: Karl Fogel <kfogel\@red-bean.com>\n";
print "Please report bugs to <cvs2cl-bugs\@red-bean.com>.\n";
print "\n";
print <<'END_OF_INFO';
Generates GNU-style ChangeLog files from CVS log information.
Requires repository access ('cvs log' must work). Basic usage:
just run it inside a working copy and a ChangeLog will appear.
Options:
-h, -help, --help, or -?: Show this usage and exit
--version: Show version and exit
-d, --distributed: Put ChangeLogs in subdirs
--stdin: Read from stdin, don't run cvs log
--stdout: Output to stdout not to ChangeLog
-f FILE, --file FILE: Use FILE instead of "ChangeLog"
--prune: Don't show empty log messages
-g OPTS, --global-opts OPTS: Run "cvs OPTS log ..."
-l OPTS, --log-opts OPTS: Run "cvs ... log OPTS"
Maintainer: Karl Fogel <kfogel@red-bean.com>
Please report bugs to <cvs2cl-bugs@red-bean.com>.
END_OF_INFO
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment