{"thread":{"id":"64673","subject":"Error in the manual","startedAt":"2025-12-23T19:28:25Z","lastAt":"2025-12-23T21:00:59Z","messageCount":2,"participants":["Egor Ibragimov","Andrew Chitester"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"532663","messageId":"CABd08tVFKDoBtdBsPHaE=Zocoj6H8yuhk86Bg+99zB_H7+r2BA@mail.gmail.com","threadId":"64673","inReplyTo":null,"subject":"Error in the manual","fromName":"Egor Ibragimov","fromEmail":"juzujka@gmail.com","sentAt":"2025-12-23T19:28:12Z","receivedAt":"2025-12-23T19:28:25Z","isPatch":false,"sender":{"key":"juzujka@gmail.com","avatar":null},"body":"Hello, there is an error in the manual.\n\n$git remote --help\nor im my case I enter incorrect command\n$git remote list\n\nThe help message:\n\nusage: git remote [-v | --verbose]\n...\n  or: git remote set-url --add <name> <newurl>\n\nIf to type command according to help message, the error appears:\n\n$ git remote --add gitverse https://repository.domain/MyName/MyRepository\nerror: unknown option `add' ...\n\nThe correct command is\n\n$ git remote add gitverse https://repository.domain/MyName/MyRepository\n\nAnd the correct help message is\n\n   or: git remote set-url add <name> <newurl>\n\nIn the manpage the same error too.\n\n$ git -v\ngit version 2.43.0\n\n-- \nEgor Ibragimov\njuzujka@gmail.com\n+7-916-807-5378\n"},{"id":"532664","messageId":"87sed09am1.fsf@fastmail.com","threadId":"64673","inReplyTo":"CABd08tVFKDoBtdBsPHaE=Zocoj6H8yuhk86Bg+99zB_H7+r2BA@mail.gmail.com","subject":"Re: Error in the manual","fromName":"Andrew Chitester","fromEmail":"andchi@fastmail.com","sentAt":"2025-12-23T21:00:54Z","receivedAt":"2025-12-23T21:00:59Z","isPatch":false,"sender":{"key":"andchi@fastmail.com","avatar":null},"body":"I'm not seeing how this is an error. The manual page for git-remote\nseems to address what `set-url` does and what `add` does.\n\n> Hello, there is an error in the manual.\n\nHello.\n\n> $git remote --help\n> or im my case I enter incorrect command\n> $git remote list\n>\n> The help message:\n>\n> usage: git remote [-v | --verbose]\n> ...\n>   or: git remote set-url --add <name> <newurl>\n>\n> If to type command according to help message, the error appears:\n>\n> $ git remote --add gitverse https://repository.domain/MyName/MyRepository\n> error: unknown option `add' ...\n\nYou didn't use the command offered in the help message:\n\n$ git remote set-url --add\n\nUse it to add a url to a remote. As far as I can tell everything is\nworking and documented correctly here.\n"}]}