Skip to content

Commit 695e4cc

Browse files
committed
Add NOTICE.txt and update license headers.
I am not a lawyer, but to the best of my knowledge this is what I'm supposed to do according to Apache 2.0, section 4
1 parent 0192f6e commit 695e4cc

23 files changed

+76
-34
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<Authors>Microsoft;Nate McMaster</Authors>
4+
<Authors>Nate McMaster</Authors>
55
<Product>CommandLineUtils</Product>
66
<Copyright>Copyright © Nate McMaster</Copyright>
77
<NeutralLanguage>en-US</NeutralLanguage>

LICENSE.txt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
Copyright (c) .NET Foundation and Contributors
1+
Copyright Nate McMaster
22

3-
All rights reserved.
4-
5-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
6-
this file except in compliance with the License. You may obtain a copy of the
7-
License at
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
86

97
http://www.apache.org/licenses/LICENSE-2.0
108

11-
Unless required by applicable law or agreed to in writing, software distributed
12-
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
13-
CONDITIONS OF ANY KIND, either express or implied. See the License for the
14-
specific language governing permissions and limitations under the License.
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

NOTICE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
This project is a fork of https://github.com/aspnet/Common and https://github.com/aspnet/DotNetTools.
2+
The modified work is available under the license found in LICENSE.txt in the root of this project.
3+
Any files that have been modified include a notice stating that they have been modified.
4+
5+
The unmodified work was originally licensed under the following terms:
6+
----------------------------------------------------------------------------------------------------
7+
8+
Copyright (c) .NET Foundation and Contributors
9+
10+
All rights reserved.
11+
12+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
13+
this file except in compliance with the License. You may obtain a copy of the
14+
License at
15+
16+
http://www.apache.org/licenses/LICENSE-2.0
17+
18+
Unless required by applicable law or agreed to in writing, software distributed
19+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
20+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
21+
specific language governing permissions and limitations under the License.

samples/HelloWorld/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Nate McMaster.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
4+
using System;
25
using McMaster.Extensions.CommandLineUtils;
36

47
public class Program

src/CommandLineUtils/CommandArgument.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) Nate McMaster.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
// This file has been modified from the original form. See Notice.txt in the project root for more information.
34

45
using System.Collections.Generic;
56
using System.Linq;

src/CommandLineUtils/CommandLineApplication.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) Nate McMaster.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
// This file has been modified from the original form. See Notice.txt in the project root for more information.
34

45
using System;
56
using System.Collections;

src/CommandLineUtils/CommandLineApplicationExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) Nate McMaster.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
// This file has been modified from the original form. See Notice.txt in the project root for more information.
34

45
using System;
56
using System.Reflection;

src/CommandLineUtils/CommandOption.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) Nate McMaster.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
// This file has been modified from the original form. See Notice.txt in the project root for more information.
34

45
using System;
56
using System.Collections.Generic;

src/CommandLineUtils/CommandOptionType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) Nate McMaster.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
// This file has been modified from the original form. See Notice.txt in the project root for more information.
34

45
namespace McMaster.Extensions.CommandLineUtils
56
{

src/CommandLineUtils/CommandParsingException.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) Nate McMaster.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
// This file has been modified from the original form. See Notice.txt in the project root for more information.
34

45
using System;
56

0 commit comments

Comments
 (0)