1
2
3
4
5
6 using System;
7
8 void PrintHelp()
9 {
10 Console.Out() << "cp [options] <source> <dest>" << endl();
11 Console.Out() << "cp [options] <source>... <directory>" << endl() << endl();
12 Console.Out() << "Copy files and directories." << endl() << endl();
13 Console.Out() << "Options:" << endl() << endl();
14 Console.Out() << "--help | -h" << endl();
15 Console.Out() << " Print help and exit." << endl() << endl();
16 Console.Out() << "--verbose | -v" << endl();
17 Console.Out() << " Be verbose." << endl() << endl();
18 Console.Out() << "--recursive | -r" << endl();
19 Console.Out() << " Copy directories recursively." << endl() << endl();
20 Console.Out() << "--update | -u" << endl();
21 Console.Out() << " Copy only if source newer than target." << endl() << endl();
22 }