Update usage and man page for new flags

This commit is contained in:
morganamilo 2018-04-05 19:14:46 +01:00
parent 6eb3dccf06
commit 855c6c841c
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E
2 changed files with 48 additions and 0 deletions

7
cmd.go
View file

@ -48,6 +48,13 @@ Permanent configuration options:
--config <file> pacman.conf file to use
--requestsplitn <n> Max amount of packages to query per AUR request
--sortby <field> Sort AUR results by a specific field during search
--answerclean <a> Set a predetermined answer for the clean build menu
--answeredit <a> Set a predetermined answer for the edit pkgbuild menu
--answerupgrade <a> Set a predetermined answer for the upgrade menu
--noanswerclean Unset the answer for the clean build menu
--noansweredit Unset the answer for the edit pkgbuild menu
--noanswerupgrade Unset the answer for the upgrade menu
--topdown Shows repository's packages first and then AUR's
--bottomup Shows AUR's packages first and then repository's

View file

@ -171,6 +171,47 @@ AUR query will cause an error\%. This should only make a noticeable difference
with very large requests (>500) packages\&.
.RE
.PP
\fB\-\-sortby <votes|popularity|id|baseid|name|base|submitted|modified>\fR
.RS 4
Sort AUR results by a specific field during search\&.
.RE
.PP
\fB\-\-answerclean <All|None|Installed|NotInstalled|...>\fR
.RS 4
Set a predetermined answer for the clean build menu question\&. This answer
will be used instead of reading from standard input but will be treaded exactly
the same when parsed\&.
.RE
.PP
\fB\-\-answeredit <All|None|Installed|NotInstalled|...>\fR
.RS 4
Set a predetermined answer for the edit pkgbuild menu question\&. This answer
will be used instead of reading from standard input but will be treaded exactly
the same when parsed\&.
.RE
.PP
\fB\-\-answerupgrade\fR <Repo|^Repo|None|...>
.RS 4
Set a predetermined answer for the upgrade menu question\&. This answer
will be used instead of reading from standard input but will be treaded exactly
the same\&.
.RE
.PP
\fB\-\-noanswerclean\fR
.RS 4
Unset the answer for the clean build menu\&.
.RE
.PP
\fB\-\-noansweredit\fR
.RS 4
Unset the answer for the edit pkgbuild menu\&.
.RE
.PP
\fB\-\-noanswerupgrade\fR
.RS 4
Unset the answer for the upgrade menu\&.
.RE
.PP
\fB\-\-topdown\fR
.RS 4
Display repository packages first and then AUR packages\&.