On Wed, Feb 15, 2012 at 9:00 PM, Allan McRae <al...@archlinux.org> wrote: > On 16/02/12 10:47, Eric Bélanger wrote: >> Close FS#28434 >> >> Signed-off-by: Eric Bélanger <snowmanisc...@gmail.com> >> --- >> contrib/pacsysclean.in | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/contrib/pacsysclean.in b/contrib/pacsysclean.in >> index 17f7681..28c1493 100755 >> --- a/contrib/pacsysclean.in >> +++ b/contrib/pacsysclean.in >> @@ -13,7 +13,7 @@ usage() { >> echo "Usage: $myname [options]" >> echo >> echo "Options:" >> - echo " -o <options> Specify custom pacman query options (e.g., >> dt)" >> + echo " -o <options> Specify custom pacman query options (e.g., >> -dt)" >> echo " -h, --help Show this help message and exit" >> } >> > > Adding "-" in front of the options for pacman looks weird to me. How > about just adding: > > [[ $PACMAN_OPTS != -* ]] && PACMAN_OPTS="-$PACMAN_OPTS" > > Then "-o -dt" and "-o dt" will work. >
Good idea. I sent a new patch. Eric > Allan >