summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-20 17:45:09 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-03-20 17:45:09 -0500
commit23bc36cba4c017f70198ce3278db5597183f1e41 (patch)
tree9f6667c52b9524ac0a4b658226c6baf42851bd98 /pm
parenta0b7a9e72d98312a1efd94e738a427c2694461df (diff)
Use 'all' instead of "*" to remove all commandline paraameters.
Diffstat (limited to 'pm')
-rw-r--r--pm/pm-functions.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pm/pm-functions.in b/pm/pm-functions.in
index dafde52..4bdb99b 100644
--- a/pm/pm-functions.in
+++ b/pm/pm-functions.in
@@ -86,8 +86,8 @@ remove_parameters() {
for p in "$@"; do
y=""
for x in $PM_CMDLINE; do
- # * removes all parameters.
- [ "$x" = "$p" -o "$p" = "*" ] && {
+ # 'all' removes all parameters.
+ [ "$x" = "$p" -o "$p" = 'all' ] && {
log "Removing parameter $x."
continue
}