summaryrefslogtreecommitdiff
path: root/flags
diff options
context:
space:
mode:
Diffstat (limited to 'flags')
-rw-r--r--flags/example.ts1
-rw-r--r--flags/mod.ts1
-rw-r--r--flags/test.ts1
-rwxr-xr-xflags/tests/all_bool.ts1
-rwxr-xr-xflags/tests/bool.ts1
-rwxr-xr-xflags/tests/dash.ts1
-rwxr-xr-xflags/tests/default_bool.ts1
-rwxr-xr-xflags/tests/dotted.ts1
-rwxr-xr-xflags/tests/kv_short.ts1
-rwxr-xr-xflags/tests/long.ts1
-rwxr-xr-xflags/tests/num.ts1
-rwxr-xr-xflags/tests/parse.ts1
-rwxr-xr-xflags/tests/short.ts1
-rwxr-xr-xflags/tests/stop_early.ts1
-rwxr-xr-xflags/tests/unknown.ts1
-rwxr-xr-xflags/tests/whitespace.ts1
16 files changed, 16 insertions, 0 deletions
diff --git a/flags/example.ts b/flags/example.ts
index 5aa0a5034..54d64b681 100644
--- a/flags/example.ts
+++ b/flags/example.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { args } from "deno";
import { parse } from "./mod.ts";
diff --git a/flags/mod.ts b/flags/mod.ts
index 28a5c8eac..2b91c2775 100644
--- a/flags/mod.ts
+++ b/flags/mod.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
export interface ArgParsingOptions {
unknown?: Function;
boolean?: Boolean | string | string[];
diff --git a/flags/test.ts b/flags/test.ts
index fe4ec2c9f..66aa8d2cd 100644
--- a/flags/test.ts
+++ b/flags/test.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import "./tests/all_bool.ts";
import "./tests/bool.ts";
import "./tests/dash.ts";
diff --git a/flags/tests/all_bool.ts b/flags/tests/all_bool.ts
index 07b12c292..80e469f18 100755
--- a/flags/tests/all_bool.ts
+++ b/flags/tests/all_bool.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/bool.ts b/flags/tests/bool.ts
index 6fa014d8d..6e3da2e73 100755
--- a/flags/tests/bool.ts
+++ b/flags/tests/bool.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/dash.ts b/flags/tests/dash.ts
index 6ab1a7d75..d9f54c692 100755
--- a/flags/tests/dash.ts
+++ b/flags/tests/dash.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/default_bool.ts b/flags/tests/default_bool.ts
index 82dab5538..ed5564715 100755
--- a/flags/tests/default_bool.ts
+++ b/flags/tests/default_bool.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/dotted.ts b/flags/tests/dotted.ts
index 6b64e3b5e..31b73c85d 100755
--- a/flags/tests/dotted.ts
+++ b/flags/tests/dotted.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/kv_short.ts b/flags/tests/kv_short.ts
index 41853c1de..f2440919b 100755
--- a/flags/tests/kv_short.ts
+++ b/flags/tests/kv_short.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/long.ts b/flags/tests/long.ts
index d75ece3b2..9ea7df471 100755
--- a/flags/tests/long.ts
+++ b/flags/tests/long.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/num.ts b/flags/tests/num.ts
index cc5b1b4e3..a3b564e7e 100755
--- a/flags/tests/num.ts
+++ b/flags/tests/num.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/parse.ts b/flags/tests/parse.ts
index 263335761..d6a1be709 100755
--- a/flags/tests/parse.ts
+++ b/flags/tests/parse.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/short.ts b/flags/tests/short.ts
index fe8994394..84edd483e 100755
--- a/flags/tests/short.ts
+++ b/flags/tests/short.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/stop_early.ts b/flags/tests/stop_early.ts
index aef4d5dc5..5e171accd 100755
--- a/flags/tests/stop_early.ts
+++ b/flags/tests/stop_early.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/unknown.ts b/flags/tests/unknown.ts
index e86f92796..ba1023dbe 100755
--- a/flags/tests/unknown.ts
+++ b/flags/tests/unknown.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";
diff --git a/flags/tests/whitespace.ts b/flags/tests/whitespace.ts
index 46ad09426..4dd9f9783 100755
--- a/flags/tests/whitespace.ts
+++ b/flags/tests/whitespace.ts
@@ -1,3 +1,4 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assertEqual } from "../../testing/mod.ts";
import { parse } from "../mod.ts";