Browse Source

Merge pull request #550 from Morganamilo/go-srcinfo2

Update readme, depreciate -Pu and -Pn
Anna 6 years ago
parent
commit
a1b5684a2f
3 changed files with 15 additions and 21 deletions
  1. 13 15
      README.md
  2. 0 2
      cmd.go
  3. 2 4
      doc/yay.8

+ 13 - 15
README.md

@@ -79,35 +79,33 @@ 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
 
-* 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
 

+ 0 - 2
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:

+ 2 - 4
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