From 1e0b56eb177220e2c1b2d3a9bffb74ac2b98ff03 Mon Sep 17 00:00:00 2001 From: "Joel W. Reed" Date: Thu, 12 Jul 2007 21:16:56 -0400 Subject: [PATCH] rename.Options.cs --- tools/tf/Options.cs | 133 ---------------------------------------------------- 1 file changed, 133 deletions(-) delete mode 100644 tools/tf/Options.cs diff --git a/tools/tf/Options.cs b/tools/tf/Options.cs deleted file mode 100644 index 5973b05..0000000 --- a/tools/tf/Options.cs +++ /dev/null @@ -1,133 +0,0 @@ -// -// options.cs -// -// Authors: -// Joel Reed (joelwreed@gmail.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -using System; -using Mono.GetOptions; - -class TfOptions : Options { - - public string Domain; - public string Username; - - [Option("Look for added files.", "", "added")] - public bool Added = false; - - [Option("Get all files, not just those out of date", "", "all")] - public bool All = false; - - [Option("What to do when an identical label already exists (replace|merge).", "", "child")] - public string Child = "Fail"; - - [Option("Overwrite files that are writable", "", "overwrite")] - public bool Overwrite = false; - - [Option("Specify a comment", "C", "comment")] - public string Comment; - - [Option("Computer name", "M", "computer")] - public string Computer; - - [Option("Look for deleted files.", "D", "deleted")] - public bool Deleted = false; - - [Option("Force operation", "P", "force")] - public bool Force = false; - - [Option("Folders", null, "folders")] - public bool Folders; - - [Option("Format", "F", "format")] - public string Format = ""; - - [Option("Lock", "K", "lock")] - public bool Lock = false; - - [Option("Login name", "Y", "login")] - public string Login; - - [Option("Look for modified files.", "", "modified")] - public bool Modified = false; - - [Option("Newname", "N", "newname")] - public string Newname; - - [Option("Suppress all errors or comments", "I", "noprompt")] - public bool Noprompt; - - [Option("Show other/unknown files", "", "others")] - public bool Others = false; - - [Option("Show out of date files (newer version on server)", "", "old")] - public bool Old = false; - - [Option("Show output as a patch", "p", "patch")] - public bool Patch = false; - - [Option("Preview", "", "preview")] - public bool Preview = false; - - [Option("Owner name", "O", "owner")] - public string Owner; - - [Option("Recursive", "R", "recursive")] - public bool Recursive = false; - - [Option("Server name.", "S", "server")] - public string Server; - - [Option("Slotmode", "X", "slotmode")] - public string Slotmode; - - [Option("Stop After", "", "stopafter")] - public int StopAfter = 256; - - [Option("Template", "T", "template")] - public string Template; - - [Option("Unmap", "", "unmap")] - public bool Unmap; - - [Option("User name", "U", "user")] - public string User; - - [Option("Validate the checkin before committing", "", "validate")] - public bool Validate; - - [Option("Show writable files", "", "writable")] - public bool Writable; - - [Option("Version", "V", "version")] - public string Version; - - [Option("Workspace name", "W", "workspace")] - public string Workspace; - - [KillOption] - public override WhatToDoNext DoAbout() { return WhatToDoNext.GoAhead; } -} - -- 2.11.4.GIT