Merge pull request #332 from Morganamilo/doc

Update usage and man page for new flags
This commit is contained in:
J Guerreiro 2018-04-07 00:12:54 +01:00 committed by GitHub
commit ec71a5bb87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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\&.