From 73790dfc3524a6eddef4dd028cb0371a07675ef0 Mon Sep 17 00:00:00 2001 From: Lüchinger Dominic Date: Sun, 5 Jan 2025 15:38:59 +0100 Subject: fix: Fix upload command to include the src.rock file as a second parameter --- src/luarocks/cmd/upload.lua | 2 +- src/luarocks/cmd/upload.tl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/luarocks/cmd/upload.lua b/src/luarocks/cmd/upload.lua index cc65de0b..6a3ef3d2 100644 --- a/src/luarocks/cmd/upload.lua +++ b/src/luarocks/cmd/upload.lua @@ -31,7 +31,7 @@ function upload.add_to_parser(parser) summary("Upload a rockspec to the public rocks repository.") cmd:argument("rockspec", "Rockspec for the rock to upload.") - cmd:argument("src-rock", "A corresponding .src.rock file; if not given it will be generated."): + cmd:argument("src_rock", "A corresponding .src.rock file; if not given it will be generated."): args("?") cmd:flag("--skip-pack", "Do not pack and send source rock.") diff --git a/src/luarocks/cmd/upload.tl b/src/luarocks/cmd/upload.tl index a222a50c..5b6e3314 100644 --- a/src/luarocks/cmd/upload.tl +++ b/src/luarocks/cmd/upload.tl @@ -31,7 +31,7 @@ function upload.add_to_parser(parser: Parser) :summary("Upload a rockspec to the public rocks repository.") cmd:argument("rockspec", "Rockspec for the rock to upload.") - cmd:argument("src-rock", "A corresponding .src.rock file; if not given it will be generated.") + cmd:argument("src_rock", "A corresponding .src.rock file; if not given it will be generated.") :args("?") cmd:flag("--skip-pack", "Do not pack and send source rock.") -- cgit v1.2.3-55-g6feb