From: W. Trevor King Date: Thu, 27 Sep 2012 13:12:46 +0000 (-0400) Subject: Fix locations for nonempty_option in disconnect() and update(). X-Git-Tag: v0.3~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fb7b26e073a066e61efe66c14ce6959834bf0801;p=dotfiles-framework.git Fix locations for nonempty_option in disconnect() and update(). --- diff --git a/dotfiles.sh b/dotfiles.sh index b823382..e797d7f 100755 --- a/dotfiles.sh +++ b/dotfiles.sh @@ -643,7 +643,7 @@ function disconnect_help() function disconnect() { # multi-repo case handled in main() by run_on_all_repos() - REPO=$(nonempty_option 'link' 'REPO' "${1}") || return 1 + REPO=$(nonempty_option 'disconnect' 'REPO' "${1}") || return 1 maxargs 'disconnect' 1 "${@}" || return 1 DOTFILES_SRC="${DOTFILES_DIR}/${REPO}/patched-src" @@ -723,7 +723,7 @@ function update_help() function update() { # multi-repo case handled in main() by run_on_all_repos() - REPO=$(nonempty_option 'link' 'REPO' "${1}") || return 1 + REPO=$(nonempty_option 'update' 'REPO' "${1}") || return 1 maxargs 'disconnect' 1 "${@}" || return 1 # Update once a week from our remote repository. Mark updates by