Skip to content

Commit 60a3e4a

Browse files
committed
tools.deploy: handle usage error better using with-options
1 parent 7dc87db commit 60a3e4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

basis/tools/deploy/deploy.factor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ ERROR: no-vocab-main vocab ;
123123
{ help "The vocabulary or vocabularies to be deployed" }
124124
{ variable "vocabs-to-deploy" }
125125
}
126-
}
127-
parse-options [ "vocabs-to-deploy" get [ [ require ] [ deploy ] bi ] each ] with-variables
128-
f program-epilog set-global ;
126+
} [
127+
"vocabs-to-deploy" get [ [ require ] [ deploy ] bi ] each
128+
] with-options f program-epilog set-global ;
129129

130130
MAIN: deploy-main

0 commit comments

Comments
 (0)