Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[conan 2.0] conan remote add documents option --insert instead of --index #3027

Closed
n-morales opened this issue Feb 25, 2023 · 1 comment
Closed
Milestone

Comments

@n-morales
Copy link

n-morales commented Feb 25, 2023

There is a small mismatch in the documentation for conan remote add and the help output of the command in conan 2.0. It looks like --insert was changed to --index in the 2.0 release but the documentation wasn't updated

https://docs.conan.io/2/reference/commands/remote.html#conan-remote-add

$ conan --version
Conan version 2.0.0
$ conan remote add -h
usage: conan remote add [-h] [-v [V]] [--logger] [--insecure] [--index INDEX] [-f] name url

Add a remote.

positional arguments:
  name           Name of the remote to add
  url            Url of the remote

optional arguments:
  -h, --help     show this help message and exit
  -v [V]         Level of detail of the output. Valid options from less verbose to more verbose: -vquiet, -verror, -vwarning, -vnotice, -vstatus, -v or -vverbose, -vv or
                 -vdebug, -vvv or -vtrace
  --logger       Show the output with log format, with time, type and message.
  --insecure     Allow insecure server connections when using SSL
  --index INDEX  Insert the remote at a specific position in the remote list
  -f, --force    Force the definition of the remote even if duplicated
@memsharded memsharded added this to the 2 milestone Feb 26, 2023
@memsharded
Copy link
Member

Thanks very much for reporting this @n-morales, lets fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants