File: header.cc

package info (click to toggle)
oxref 2.02.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 692 kB
  • sloc: cpp: 1,282; makefile: 131; sh: 48
file content (20 lines) | stat: -rw-r--r-- 516 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "main.ih"

void header(int argc, char **argv)
{
    Arg &arg = Arg::instance();

    cout << 
        arg.basename() << " by " << Icmbuild::author << '\n' <<
        arg.basename() << " V " << Icmbuild::version << ' ' << 
                                                    Icmbuild::years << "\n"
        "\n"
        "CREATED " << DateTime().rfc2822() << "\n"
        "OXREF ARGUMENTS: ";

    copy(argv + 1, argv + argc, ostream_iterator<char const *>(cout, " "));

    cout << "\n"
            "\n";
}