xdeb-org / xdeb

XDEB - Convert deb (Debian) packages to xbps (Void Linux)
MIT License
305 stars 16 forks source link

readme: --revision is not an alternative for -r #26

Closed thetredev closed 6 months ago

thetredev commented 6 months ago

https://github.com/xdeb-org/xdeb/blob/master/readme.md?plain=1#L48 states that --rev= and --revision= are alternatives for -r. But -r is "Clean repodata (Use when rebuilding a package)".

I think --rev/--revision and -r are completely different things. By the way, is -r actually used? Couldn't find it in the script. Maybe I'm blind tho :D

toluschr commented 6 months ago

The wording is confusing here. It means either (-r) remove the package entirely or (--revision) keep the old package and bump the revision.

toluschr commented 6 months ago

-r was a hacky way to deal with this, before --revision was introdced. It is not ideal, but I don't think existing behavior should be changed or removed either.

thetredev commented 6 months ago

Ahhh gotcha. Closing.