pfetch: Use -- with set
This commit is contained in:
parent
3a33033120
commit
e30fc1075c
2
pfetch
2
pfetch
|
@ -1519,7 +1519,7 @@ main() {
|
|||
# Disable globbing and set the positional parameters to the
|
||||
# contents of 'PF_INFO'.
|
||||
set -f
|
||||
set +f ${PF_INFO-ascii title os host kernel uptime pkgs memory}
|
||||
set +f -- ${PF_INFO-ascii title os host kernel uptime pkgs memory}
|
||||
|
||||
# Iterate over the info functions to determine the lengths of the
|
||||
# "info names" for output alignment. The option names and subtitles
|
||||
|
|
Loading…
Reference in New Issue
Block a user