summaryrefslogtreecommitdiff
path: root/doc/man
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-10-30 13:06:45 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2017-11-07 15:56:10 +0000
commit98e4cef3ea23842d6bceb438e0f1f8285a01d979 (patch)
treeddfdf1986fd60290255f7b76614da6a7eccacb7e /doc/man
parent8c341216da67adaf053ab3af9b2ceddfee21d21d (diff)
downloadqbs-98e4cef3ea23842d6bceb438e0f1f8285a01d979.tar.gz
CLI: Fix the --version option
This option was supported in a very hacky way by attaching it to the "build" command, where it does not belong. Add a dedicated command instead and support the option variant in the same way as we do for --help. Change-Id: Ib8f1a0e44f9ae669093f059c86518138df510bc3 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc/man')
-rw-r--r--doc/man/qbs.13
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/man/qbs.1 b/doc/man/qbs.1
index a518f04ae..cf5d5d767 100644
--- a/doc/man/qbs.1
+++ b/doc/man/qbs.1
@@ -39,6 +39,9 @@ Run an executable generated by building a project.
shell
Open a shell with a product's environment.
.TP
+show\-version
+Print the Qbs version number to stdout.
+.TP
status
Show the status of files in the project directory.
.TP