From: <sk...@us...> - 2003-11-17 22:37:33
|
Update of /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode.Console/SharpCvsLib/Console/Parser In directory sc8-pr-cvs1:/tmp/cvs-serv26744/src/ICSharpCode.Console/SharpCvsLib/Console/Parser Modified Files: CommandNames.cs Log Message: Corrected the code format in this file. Index: CommandNames.cs =================================================================== RCS file: /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode.Console/SharpCvsLib/Console/Parser/CommandNames.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CommandNames.cs 5 Nov 2003 08:07:30 -0000 1.3 --- CommandNames.cs 17 Nov 2003 22:37:30 -0000 1.4 *************** *** 41,109 **** namespace ICSharpCode.SharpCvsLib.Console.Parser { ! /// <summary>Holds a list of the available command line common ! /// names and synonyms. Also provides a container for the ! /// command line variables that are needed for the library.</summary> ! public class CommandNames { ! ! private Command [] commands = ! {new Command("add", "ad", "new"), ! new Command("admin", "adm", "rcs"), ! new Command("annotate", "ann", null), ! //#if defined(SERVER_SUPPORT) ! new Command("authserver", "pserver", null), ! //#endif ! new Command("chacl", "setacl", "setperm"), ! new Command("checkout", "co", "get"), ! new Command("chown", "setowner", null), ! new Command("commit", "ci", "com"), ! new Command("diff", "di", "dif"), ! new Command("edit", null, null), ! new Command("editors", null, null), ! new Command("export", "exp", "ex"), ! new Command("history", "hi", "his"), ! new Command("import", "im", "imp"), ! new Command("init", null, null), ! new Command("info", "inf", null), ! new Command("log", "lo", null), ! //#ifdef CLIENT_SUPPORT ! new Command("login", "logon", "lgn"), ! new Command("logout", null, null), ! //#endif /* CLIENT_SUPPORT */ ! new Command("ls", "dir", "list"), ! new Command("lsacl", "lsattr", "listperm"), ! new Command("passwd", "password", "setpass"), ! new Command("rannotate", "rann", "ra"), ! new Command("rdiff", "patch", "pa"), ! new Command("release", "re", "rel"), ! new Command("cvs_rename", "ren", "move"), ! new Command("remove", "rm", "delete"), ! new Command("rcsfile", null, null), ! new Command("rlog", "rl", null), ! new Command("rtag", "rt", "rfreeze"), ! //#ifdef SERVER_SUPPORT ! new Command("server", null, null), ! //#endif ! new Command("status", "st", "cvs_stat"), ! new Command("tag", "ta", "freeze"), ! new Command("unedit", null, null), ! new Command("update", "up", "upd"), ! new Command("version", "ve", "ver"), ! new Command("watch", null, null), ! new Command("watchers", null, null) ! } ; ! /// <summary>Holds a list of command objects.</summary> ! public Command [] Commands { ! get {return this.commands;} ! } ! /// <summary>Creates and instance of the commands object. This object ! /// holds a list of the commands that can be executed against the repository. ! /// </summary> ! public CommandNames () { } - - } - } --- 41,106 ---- namespace ICSharpCode.SharpCvsLib.Console.Parser { ! /// <summary>Holds a list of the available command line common ! /// names and synonyms. Also provides a container for the ! /// command line variables that are needed for the library.</summary> ! public class CommandNames { ! private Command [] commands = ! {new Command("add", "ad", "new"), ! new Command("admin", "adm", "rcs"), ! new Command("annotate", "ann", null), ! //#if defined(SERVER_SUPPORT) ! new Command("authserver", "pserver", null), ! //#endif ! new Command("chacl", "setacl", "setperm"), ! new Command("checkout", "co", "get"), ! new Command("chown", "setowner", null), ! new Command("commit", "ci", "com"), ! new Command("diff", "di", "dif"), ! new Command("edit", null, null), ! new Command("editors", null, null), ! new Command("export", "exp", "ex"), ! new Command("history", "hi", "his"), ! new Command("import", "im", "imp"), ! new Command("init", null, null), ! new Command("info", "inf", null), ! new Command("log", "lo", null), ! //#ifdef CLIENT_SUPPORT ! new Command("login", "logon", "lgn"), ! new Command("logout", null, null), ! //#endif /* CLIENT_SUPPORT */ ! new Command("ls", "dir", "list"), ! new Command("lsacl", "lsattr", "listperm"), ! new Command("passwd", "password", "setpass"), ! new Command("rannotate", "rann", "ra"), ! new Command("rdiff", "patch", "pa"), ! new Command("release", "re", "rel"), ! new Command("cvs_rename", "ren", "move"), ! new Command("remove", "rm", "delete"), ! new Command("rcsfile", null, null), ! new Command("rlog", "rl", null), ! new Command("rtag", "rt", "rfreeze"), ! //#ifdef SERVER_SUPPORT ! new Command("server", null, null), ! //#endif ! new Command("status", "st", "cvs_stat"), ! new Command("tag", "ta", "freeze"), ! new Command("unedit", null, null), ! new Command("update", "up", "upd"), ! new Command("version", "ve", "ver"), ! new Command("watch", null, null), ! new Command("watchers", null, null) ! } ; ! /// <summary>Holds a list of command objects.</summary> ! public Command [] Commands { ! get {return this.commands;} ! } + /// <summary>Creates and instance of the commands object. This object + /// holds a list of the commands that can be executed against the repository. + /// </summary> + public CommandNames () { + } } } |