Skip to content

Commit 962c052

Browse files
committed
setting nom. code to any does not trigger warning anymore
1 parent 6319046 commit 962c052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gnparser/cmd/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func codeFlag(cmd *cobra.Command) {
2828
return
2929
}
3030
code := nomcode.New(s)
31-
if code == nomcode.Unknown {
31+
if code == nomcode.Unknown && s != "any" {
3232
slog.Warn("Cannot determine nomenclatural-code from input", "input", s)
3333
}
3434
opts = append(opts, gnparser.OptCode(code))

0 commit comments

Comments
 (0)