From 92ce1ed7026e3ff41ba57611bbf2e11bbcd2739d Mon Sep 17 00:00:00 2001 From: jguer Date: Thu, 6 Apr 2023 18:44:39 +0200 Subject: [PATCH] fix wording on operation order to make it more clear --- cmd.go | 2 +- doc/yay.8 | 6 +++--- main.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd.go b/cmd.go index e4fa60b08..c58b525a7 100644 --- a/cmd.go +++ b/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 diff --git a/doc/yay.8 b/doc/yay.8 index 8775f6814..7e55a7457 100644 --- a/doc/yay.8 +++ b/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 diff --git a/main.go b/main.go index fa017e9bc..29530f553 100644 --- a/main.go +++ b/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. )