Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions doc/yay.8
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
)

Expand Down