From 686e1baaf4c52e478da70cd2a392031bedfd48cd Mon Sep 17 00:00:00 2001 From: morganamilo Date: Mon, 16 Jul 2018 16:24:57 +0100 Subject: [PATCH 1/2] Update readme, depreciate -Pu and -Pn --- README.md | 2 +- cmd.go | 2 -- doc/yay.8 | 6 ++---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 35a3efaa..ae140dbb 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ are built into Yay at build time. They do not need to be installed separately. Currently yay Depends on: * https://github.com/Jguer/go-alpm -* https://github.com/mikkeloscar/gopkgbuild +* https://github.com/Morganamilo/go-srcinfo * https://github.com/mikkeloscar/aur ## Frequently Asked Questions diff --git a/cmd.go b/cmd.go index 63fbf694..7eb44539 100644 --- a/cmd.go +++ b/cmd.go @@ -109,9 +109,7 @@ Print specific options: -c --complete Used for completions -d --defaultconfig Print default yay configuration -g --config Print current yay configuration - -n --numberupgrades Print number of updates -s --stats Display system package statistics - -u --upgrades Print update list -w --news Print arch news Yay specific options: diff --git a/doc/yay.8 b/doc/yay.8 index 75010690..33f51d85 100644 --- a/doc/yay.8 +++ b/doc/yay.8 @@ -118,8 +118,7 @@ Print current yay configuration\&. .PP \fB\-n \-\-numberupgrades\fR .RS 4 -Print number of packages that need to be updated\&. Note this does not perform -a database refresh\&. Run \fByay \-Sy\fR Before this for an up to date result\&. +Depreciated, use \fByay -Qu\fR and \fBwl -l\fR instead\%. .RE .PP \fB\-s \-\-stats\fR @@ -131,8 +130,7 @@ be displayed\&. .PP \fB\-u \-\-upgrades\fR .RS 4 -Print Names of packages that need to be updated\&. Note this does not perform -a database refresh\&. Run \fByay \-Sy\fR Before this for an up to date result\&. +Depreciated, use \fByay -Qu\fR instead\%. .RE .PP \fB\-w \-\-news\fR From 46d09f8ab75996969f49d2b13a9b2cb66c276caf Mon Sep 17 00:00:00 2001 From: morganamilo Date: Tue, 17 Jul 2018 22:07:20 +0100 Subject: [PATCH 2/2] Fixup FAQ Section --- README.md | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index ae140dbb..f468d761 100644 --- a/README.md +++ b/README.md @@ -84,30 +84,28 @@ Currently yay Depends on: ## Frequently Asked Questions -* Yay does not display colored output. How do I fix it? +### Yay does not display colored output. How do I fix it? Make sure you have the `Color` option in your `/etc/pacman.conf` [#123](https://github.com/Jguer/yay/issues/123) - -* Yay is not asking to select packages during install (issue [#554](https://github.com/Jguer/yay/issues/554)) +### Yay is not prompting to skip packages during sysupgrade (issue [#554](https://github.com/Jguer/yay/issues/554)) The default behavior was changed from [v8.918](https://github.com/Jguer/yay/releases/tag/v8.918) (see: [3bdb534](https://github.com/Jguer/yay/commit/3bdb5343218d99d40f8a449b887348611f6bdbfc)). To restore such behavior use the `--combinedupgrade`. Note: this causes [native pacman](https://wiki.archlinux.org/index.php/AUR_helpers) to become partial. -* Sometimes diffs are printed to the terminal and other times they are pages - via less. How do I fix this? - Yay uses `git diff` to display diffs, by default git tells less to not page - if the output can fit one terminal length. This can be overridden by - exporting your own flags `export LESS=SRX`. +### Sometimes diffs are printed to the terminal and other times they are paged via less. How do I fix this? + Yay uses `git diff` to display diffs, by default git tells less to not page + if the output can fit one terminal length. This can be overridden by + exporting your own flags `export LESS=SRX`. -* Yay is not asking me to edit PKGBUILDS and I don't like diff menu! What do? +### Yay is not asking me to edit PKGBUILDS and I don't like diff menu! What do? `yay --editmenu --nodiffmenu --save` -* Only act on AUR packages or only on repo packages? - `yay -{OPERATION} --aur` - `yay -{OPERATION} --repo` +### Only act on AUR packages or only on repo packages? + `yay -{OPERATION} --aur` + `yay -{OPERATION} --repo` -* `Out Of Date AUR Packages`message is displayed, why doesn't `yay` update them? -This means the package has been flagged out of date on the AUR but author has not updated the `PKGBUILD` yet. +### `Out Of Date AUR Packages` message is displayed, why doesn't `yay` update them? + This means the package has been flagged out of date on the AUR but maintainer has not updated the `PKGBUILD` yet. ## Examples of Custom Operations