From 5e2d3d1e15e94e3d727e7393cbce2667a93f2fd4 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sat, 19 May 2018 11:10:46 +0200 Subject: 42806: fix shutdown completion where options were lost due to args= assignment where args+= was needed --- ChangeLog | 3 +++ Completion/Unix/Command/_shutdown | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8597c8ea2..dda1c6b22 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2018-05-19 Oliver Kiddle + * 42806: Completion/Unix/Command/_shutdown: fix where options + were lost due to args= assignment where args+= was needed + * 42803: Completion/Unix/Command/_netstat: handle Linux and the the BSDs in netstat completion diff --git a/Completion/Unix/Command/_shutdown b/Completion/Unix/Command/_shutdown index 9726182a0..4119502fb 100644 --- a/Completion/Unix/Command/_shutdown +++ b/Completion/Unix/Command/_shutdown @@ -27,8 +27,8 @@ case $OSTYPE in '*:warning message' ) ;| - *bsd*|dragonfly*|linux*) - args=( + *bsd*|dragonfly*) + args+=( '-p[turn off power after shutdown]' ) ;| -- cgit v1.2.3