summaryrefslogtreecommitdiff
path: root/src/utilities/util_cpyright.c
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@wiredtiger.com>2011-10-19 18:42:16 +0000
committerKeith Bostic <keith.bostic@wiredtiger.com>2011-10-19 18:42:16 +0000
commitae04099f5afd5d9ab525a1aba74a5395bf7a1b1b (patch)
tree50b73491527df4ff81219c457170820eb3695da7 /src/utilities/util_cpyright.c
parentcef78bb899dc178d4f03377b6722f76990dab48d (diff)
downloadmongo-ae04099f5afd5d9ab525a1aba74a5395bf7a1b1b.tar.gz
Add a copyright notice & command to the wt utility.
Diffstat (limited to 'src/utilities/util_cpyright.c')
-rw-r--r--src/utilities/util_cpyright.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/utilities/util_cpyright.c b/src/utilities/util_cpyright.c
new file mode 100644
index 00000000000..f8f00e774d9
--- /dev/null
+++ b/src/utilities/util_cpyright.c
@@ -0,0 +1,36 @@
+/*-
+ * See the file LICENSE for redistribution information.
+ *
+ * Copyright (c) 2008-2011 WiredTiger, Inc.
+ * All rights reserved.
+ */
+
+#include "wiredtiger.h"
+#include "util.h"
+
+void
+util_copyright(void)
+{
+ printf("%s\n", "Copyright (c) 2008-2011 WiredTiger, Inc.");
+ printf("%s\n\n", "All rights reserved.");
+
+ printf("%s\n\n",
+ "This program is free software: you can redistribute it and/or\n"
+ "modify it under the terms of version 3 of the GNU General\n"
+ "Public License as published by the Free Software Foundation.");
+
+ printf("%s\n\n",
+ "This program is distributed in the hope that it will be useful,\n"
+ "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
+ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
+ "GNU General Public License for more details:");
+
+ printf("\t%s\n\n",
+ "http://www.gnu.org/licenses/gpl-3.0-standalone.html");
+
+ printf("%s\n",
+ "For a license to use the WiredTiger software under conditions\n"
+ "other than those described by the GNU General Public License,\n"
+ "or for technical support for this software, contact WiredTiger,\n"
+ "Inc. at info@wiredtiger.com.");
+}