#!/usr/bin/perl -wp
BEGIN{
print <<'EOF';
package savilerow;
/*

    Savile Row http://savilerow.cs.st-andrews.ac.uk/
    Copyright (C) 2014-2018 Peter Nightingale
    
    This file is part of Savile Row.
    
    Savile Row is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
    
    Savile Row is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with Savile Row.  If not, see <http://www.gnu.org/licenses/>.

*/

import savilerow.*;

public class HelpText {
    public static void printHelp() {
        System.out.println(
        "Savile Row " + CmdFlags.version + " (Repository Version: " + RepositoryVersion.repositoryVersion + ")\n"
EOF
}
s/\\/\\\\/g;
s/\"/\\\"/g;
s/^/        +\"/;
s/$/\\n\"/;
END{
print <<'EOF';
        );
    }
}
EOF
}
