rs / curlie

The power of curl, the ease of use of httpie.
https://curlie.io
MIT License
2.84k stars 95 forks source link

Incorrect version info in `--version` #49

Closed ahmubashshir closed 2 years ago

ahmubashshir commented 2 years ago

curlie --version shows

curl 7.82.0 (x86_64-pc-linux-gnu) libcurl/7.82.0 OpenSSL/1.1.1m zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.47.0
Release-Date: 2022-03-05

instead of

curlie 1.6.7 (x86_64-pc-linux-gnu) libcurl/7.82.0 OpenSSL/1.1.1m zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.47.0
Release-Date: 2022-03-05
terlar commented 2 years ago

You use curlie version to see the version of curlie itself. Otherwise it will delegate to curl.

ahmubashshir commented 2 years ago

Oops... my bad :3