diff --git a/README.md b/README.md index e9ab280..e4a170a 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ the first time: # This command is delegated to the '_sourcezap' user $ sourcezap pull - # Set a branch other than the default: hardened/14-stable/master + # Checkout a branch other than the default: hardened/14-stable/master # This command is delegated to the '_sourcezap' user - $ sourcezap set-branch hardened/13-stable/master + $ sourcezap checkout hardened/13-stable/master # Install /home/_sourcezap/src/ into /usr/src/ # This command requires root privileges diff --git a/bin/sourcezap b/bin/sourcezap index fe642cd..908332c 100755 --- a/bin/sourcezap +++ b/bin/sourcezap @@ -46,9 +46,9 @@ case $1 in require_dependency "git doas" "${libexec}"/sourcezap-pull "${gitdir}" ;; - "set-branch") + "checkout") require_dependency "git doas" - "${libexec}"/sourcezap-setbranch "${gitdir}" "${2}" + "${libexec}"/sourcezap-checkout "${gitdir}" "${2}" ;; "erase") "${libexec}"/sourcezap-erase "${gitdir}" "${installdir}" @@ -63,7 +63,7 @@ case $1 in printf "Commands:\n" printf " clone Clone the HardenedBSD source tree\n" printf " pull Pull source tree updates\n" - printf " set-branch Set a branch other than the default\n" + printf " checkout Checkout a branch other than the default\n" printf " install Install the source tree into /usr/src/\n" printf " erase Erase /usr/src/ and /home/_sourcezap/src/\n" ;; diff --git a/libexec/sourcezap/sourcezap-setbranch b/libexec/sourcezap/sourcezap-checkout similarity index 100% rename from libexec/sourcezap/sourcezap-setbranch rename to libexec/sourcezap/sourcezap-checkout diff --git a/man/man8/sourcezap.8 b/man/man8/sourcezap.8 index c4ca341..82b5a50 100644 --- a/man/man8/sourcezap.8 +++ b/man/man8/sourcezap.8 @@ -10,7 +10,7 @@ sourcezap clone .br sourcezap pull .br -sourcezap set-branch +sourcezap checkout .br sourcezap install .br @@ -36,9 +36,9 @@ Pull updates into /home/_sourcezap/src/. .br This command is delegated to the '_sourcezap' user. .Pp -.Nm sourcezap set-branch +.Nm sourcezap checkout .br -Set a branch other than the default: hardened/14-stable/master. +Checkout a branch other than the default: hardened/14-stable/master. .br This command is delegated to the '_sourcezap' user. .Pp