From b86388107fda2094060a5e9470728b7be9d750c9 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 22 Feb 2023 17:58:04 +0100 Subject: Add a version command for just-mr itself Both, just and the launcher just-mr are developped and released together and hence share version numbers. Nevertheless, the tools are used independently. In fact, just-mr has an option to specify the just binary to be used. Hence it is useful that each tool is aware of its own version number. As a launcher, just-mr is supposed to forward all subcommands known to just, hence the just-mr command to show the version information cannot be called "version"; we use "mrversion" instead. --- share/man/just-mr.1.org | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'share') diff --git a/share/man/just-mr.1.org b/share/man/just-mr.1.org index 136796f4..b7a128f1 100644 --- a/share/man/just-mr.1.org +++ b/share/man/just-mr.1.org @@ -92,6 +92,13 @@ See *just-mr-repository-config(5)* for more details on the input format. * SUBCOMMANDS +** mrversion + +Print on stdout a JSON object providing version information for +this tool itself; the ~version~ subcommand calls the ~version~ +subcommand of just. The version information for just-mr is in the +same format that also ~just~ uses. + ** setup|setup-env These subcommands fetch all required repositories and generate an appropriate -- cgit v1.2.3