Skip to content

Commit e688ffa

Browse files
authored
Add default value for flags. (#25)
1 parent 6e25810 commit e688ffa

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tools/main.toit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ main args:
6363
--short_help="The root directory of the variants."
6464
--required,
6565
cli.Flag "ignore-errors"
66-
--short_help="Ignore errors when synthesizing variants.",
66+
--short_help="Ignore errors when synthesizing variants."
67+
--default=false,
6768
cli.Flag "update-patches"
6869
--short_help="Update the patches in the variants."
70+
--default=false
6971
--hidden,
7072
]
7173
--rest=[

tools/package.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,21 @@ prefixes:
77
packages:
88
pkg-cli:
99
url: github.com/toitlang/pkg-cli
10+
name: cli
1011
version: 1.2.0
1112
hash: 0e2adab3ab434c597be60438ccf64008f703ad9c
1213
pkg-host:
1314
url: github.com/toitlang/pkg-host
15+
name: host
1416
version: 1.9.0
1517
hash: 76e4dc5328a5c3739e97f65ed196d05058071359
1618
pkg-http:
1719
url: github.com/toitlang/pkg-http
20+
name: http
1821
version: 2.3.0
1922
hash: 05ce2065a75813138d2c4ca1bab03e7a6f0541a2
2023
toit-cert-roots:
2124
url: github.com/toitware/toit-cert-roots
25+
name: certificate_roots
2226
version: 1.5.0
2327
hash: 27a9f9ff3d337b6128e98e220126e3cc275bcd73

0 commit comments

Comments
 (0)