[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-49-gd803323

Ville Skyttä ville.skytta at iki.fi
Thu Oct 25 18:35:57 UTC 2012


The following commit has been merged in the master branch:
commit 09d24da884fcf98a7a22a4487ab79f03c3f20026
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Oct 25 21:17:35 2012 +0300

    useradd: Fix -k, -K, and --home-dir argument completions.

diff --git a/completions/useradd b/completions/useradd
index 2a61c94..33c41c6 100644
--- a/completions/useradd
+++ b/completions/useradd
@@ -9,11 +9,11 @@ _useradd()
     #       with -u/--uid
 
     case $prev in
-        -c|--comment|-h|--help|-e|--expiredate|-f|--inactive|-k|--key|\
+        -c|--comment|-h|--help|-e|--expiredate|-f|--inactive|-K|--key|\
         -p|--password|-u|--uid|-Z|--selinux-user)
             return 0
             ;;
-        -b|--base-dir|-d|--home|-k|--skel)
+        -b|--base-dir|-d|--home-dir|-k|--skel)
             _filedir -d
             return 0
             ;;

-- 
bash-completion



More information about the Bash-completion-commits mailing list