From 23bc36cba4c017f70198ce3278db5597183f1e41 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Thu, 20 Mar 2008 17:45:09 -0500 Subject: Use 'all' instead of "*" to remove all commandline paraameters. --- README | 2 +- pm/pm-functions.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 963bca2..6646234 100644 --- a/README +++ b/README @@ -63,7 +63,7 @@ End-user customization: DROP_PARAMETERS="--parameter-to-drop --another-parameter-to-drop" If you want to drop all parameters (for testing purposes, or to work around - bugs in HAL), you can use DROP_PARAMETERS="*" + bugs in HAL), you can use DROP_PARAMETERS="all" That's it! 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 } -- cgit v1.2.3