瀏覽代碼

chore(man): fix wording on operation order to make it more clear (#2088)

fix wording on operation order to make it more clear
Jo 2 年之前
父節點
當前提交
a64180464b
共有 3 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      cmd.go
  2. 3 3
      doc/yay.8
  3. 1 1
      main.go

+ 1 - 1
cmd.go

@@ -51,7 +51,7 @@ New operations:
     yay {-Y --yay}         [options] [package(s)]
 
 If no operation is specified 'yay -Syu' will be performed
-If no operation and no targets are provided -Y will be assumed
+If no operation is specified and targets are provided -Y will be assumed
 
 New options:
        --repo             Assume targets are from the repositories

+ 3 - 3
doc/yay.8

@@ -23,7 +23,7 @@ This manpage only covers options unique to Yay. For other options see
 .TP
 .B \-Y, \-\-yay
 Perform yay specific operations. This is the default if no other operation is
-selected.
+selected and targets are defined.
 
 .TP
 .B \-B, \-\-build
@@ -42,9 +42,9 @@ Downloads PKGBUILD from ABS or AUR. The ABS can only be used for Arch Linux repo
 Web related operations such as voting for AUR packages.
 
 .RE
-If no arguments are provided 'yay \-Syu' will be performed.
+If no operation is specified 'yay \-Syu' will be performed
 
-If no operation is selected \-Y will be assumed.
+If no operation is specified and targets are provided \-Y will be assumed
 
 .SH EXTENDED PACMAN OPERATIONS
 .TP

+ 1 - 1
main.go

@@ -18,7 +18,7 @@ import (
 )
 
 var (
-	yayVersion = "12.0.0"            // To be set by compiler.
+	yayVersion = "12.0.4"            // To be set by compiler.
 	localePath = "/usr/share/locale" // To be set by compiler.
 )