Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pacman
Pacman Contrib
Commits
efe10821
Commit
efe10821
authored
Feb 21, 2022
by
Sam B
Browse files
checkupdates: fix long option parse check for nosync
Missed updating this entry from the name of norefresh I used initially.
parent
bbf488e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/checkupdates.sh.in
View file @
efe10821
...
@@ -67,7 +67,7 @@ __EOF__
...
@@ -67,7 +67,7 @@ __EOF__
}
}
OPT_SHORT
=
'dnh'
OPT_SHORT
=
'dnh'
OPT_LONG
=(
'download'
'help'
'nocolor'
'norefresh'
)
OPT_LONG
=(
'download'
'nosync'
'help'
'nocolor'
)
if
!
parseopts
"
$OPT_SHORT
"
"
${
OPT_LONG
[@]
}
"
--
"
$@
"
;
then
if
!
parseopts
"
$OPT_SHORT
"
"
${
OPT_LONG
[@]
}
"
--
"
$@
"
;
then
exit
1
exit
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment