diff options
author | Lüchinger Dominic <doldev@snowgarden.ch> | 2025-01-05 15:38:59 +0100 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2025-01-05 22:10:57 -0300 |
commit | 73790dfc3524a6eddef4dd028cb0371a07675ef0 (patch) | |
tree | 4c93ce148d4bc8c7303fce46cd41cdd0c4faf924 /src | |
parent | 7fe5532c695711d23fd9d7e13a9e6235478171b6 (diff) | |
download | luarocks-73790dfc3524a6eddef4dd028cb0371a07675ef0.tar.gz luarocks-73790dfc3524a6eddef4dd028cb0371a07675ef0.tar.bz2 luarocks-73790dfc3524a6eddef4dd028cb0371a07675ef0.zip |
fix: Fix upload command to include the src.rock file as a second parameter
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/cmd/upload.lua | 2 | ||||
-rw-r--r-- | src/luarocks/cmd/upload.tl | 2 |
2 files changed, 2 insertions, 2 deletions
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) | |||
31 | summary("Upload a rockspec to the public rocks repository.") | 31 | summary("Upload a rockspec to the public rocks repository.") |
32 | 32 | ||
33 | cmd:argument("rockspec", "Rockspec for the rock to upload.") | 33 | cmd:argument("rockspec", "Rockspec for the rock to upload.") |
34 | cmd:argument("src-rock", "A corresponding .src.rock file; if not given it will be generated."): | 34 | cmd:argument("src_rock", "A corresponding .src.rock file; if not given it will be generated."): |
35 | args("?") | 35 | args("?") |
36 | 36 | ||
37 | cmd:flag("--skip-pack", "Do not pack and send source rock.") | 37 | 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) | |||
31 | :summary("Upload a rockspec to the public rocks repository.") | 31 | :summary("Upload a rockspec to the public rocks repository.") |
32 | 32 | ||
33 | cmd:argument("rockspec", "Rockspec for the rock to upload.") | 33 | cmd:argument("rockspec", "Rockspec for the rock to upload.") |
34 | cmd:argument("src-rock", "A corresponding .src.rock file; if not given it will be generated.") | 34 | cmd:argument("src_rock", "A corresponding .src.rock file; if not given it will be generated.") |
35 | :args("?") | 35 | :args("?") |
36 | 36 | ||
37 | cmd:flag("--skip-pack", "Do not pack and send source rock.") | 37 | cmd:flag("--skip-pack", "Do not pack and send source rock.") |