aports/testing/ocaml-gitlab/rename-to-olab.patch
2024-04-22 05:15:32 +00:00

36 lines
1.1 KiB
Diff

--- a/cli/dune
+++ b/cli/dune
@@ -1,7 +1,7 @@
(executable
(libraries cohttp-lwt-unix gitlab-unix cmdliner otoml fmt)
(package lab)
- (public_name lab)
+ (public_name olab)
(modules main api config issue merge_request project user runner project_hook)
(name main))
--- a/cli/main.ml
+++ b/cli/main.ml
@@ -9,7 +9,7 @@
[
`S "DESCRIPTION";
`P
- "Lab is a tool that wraps git in order to extend it with extra \
+ "OLab is a tool that wraps git in order to extend it with extra \
functionality that makes it better when working with GitLab.";
`S "BUGS";
`P "<https://github.com/tmcgilchrist/ocaml-gitlab/issues>";
@@ -17,11 +17,11 @@
`P "<https://github.com/tmcgilchrist/ocaml-gitlab>";
`S "FEEDBACK";
`P
- "Open an issue using 'lab issue create -R \
+ "Open an issue using 'gh issue create -R \
github.com/tmcgilchrist/ocaml-gitlab' ";
]
in
- let info = Cmd.info ~envs "lab" ~version:"0.1.8" ~doc ~man in
+ let info = Cmd.info ~envs "olab" ~version:"0.1.8" ~doc ~man in
let config = Config.from_file in
Cmd.group ~default info
[