Deleted Added
full compact
4c4
< # Copyright (c) 2012-2013 Devin Teske
---
> # Copyright (c) 2012-2014 Devin Teske
28c28
< # $FreeBSD: stable/10/usr.sbin/bsdconfig/usermgmt/useradd 260678 2014-01-15 07:49:17Z dteske $
---
> # $FreeBSD: stable/10/usr.sbin/bsdconfig/usermgmt/useradd 263980 2014-04-01 00:19:13Z dteske $
35a36,37
> f_include $BSDCFG_SHARE/mustberoot.subr
> f_include $BSDCFG_SHARE/usermgmt/user.subr
37a40
> f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
58c61
< # Chain-load to userinput to centralize code and minimize duplication
---
> # Initialize
60c63,65
< $BSDCFG_LIBE/$APP_DIR/userinput ${USE_XDIALOG:+-X} mode="Add"
---
> f_dialog_title "$msg_add $msg_user"
> f_dialog_backtitle "${ipgm:+bsdconfig }$pgm"
> f_mustberoot_init
61a67,74
> #
> # Add a user
> #
> # NB: If given an argument on the command-line use it; otherwise fall-back to
> # environment variable $user (handle $VAR_USER).
> #
> f_user_add ${1:+"$1"}
>