Skip to content

Commit 17b3f6e

Browse files
committed
feat(cli): improve error msg for positional args
1 parent 0d08ac1 commit 17b3f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsblk.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ local function main()
547547
fail(2, "invalid option %q", argument)
548548
else
549549
-- Reject any positional argument.
550-
fail(2, "too many arguments")
550+
fail(2, "positional arguments not supported")
551551
end
552552
end
553553

0 commit comments

Comments
 (0)