我使用的是什么版本的Perforce?

时间:2014-04-17 10:39:32

标签: perforce

我使用的是什么版本的Perforce p4.exe?我尝试了各种命令,但都没有用:(

> p4 --version
Perforce client error:
        p4 -h for usage.
        Invalid option: --version.

> p4 version
Unknown command.  Try 'p4 help' for info.

但没有效果。那么,我怎么知道我正在使用的Perforce p4.exe版本是什么?


进行比较:

> git --version
git version 1.9.0.msysgit.0

> hg --version
Mercurial Distributed SCM (version 2.6.1)

1 个答案:

答案 0 :(得分:1)

这有效

> p4 -V

Perforce - The Fast Software Configuration Management System.
Copyright 1995-2014 Perforce Software.  All rights reserved.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
See 'p4 help legal' for full OpenSSL license information
Version of OpenSSL Libraries: OpenSSL 1.0.1d 5 Feb 2013
Rev. P4/NTX64/2014.1/807760 (2014/03/18).