mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-01-02 16:02:12 +01:00
pfetch: Use -- with set
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user