x-ui menu edit typo (#680)

* Update README.md
* Update x-ui.sh

---------

Co-authored-by: Shahin-IO <115543613+shahin-io@users.noreply.github.com>
This commit is contained in:
shahin-io
2023-12-04 19:29:36 +00:00
committed by GitHub
parent 7ed106a0f0
commit e488dc18b1
2 changed files with 42 additions and 40 deletions

34
x-ui.sh
View File

@@ -613,27 +613,29 @@ ssl_cert_issue_CF() {
}
show_usage() {
echo "x-ui control menu usages: "
echo "X-UI Control Menu Usage"
echo "------------------------------------------"
echo "x-ui - Enter Admin menu"
echo "x-ui start - Start x-ui"
echo "x-ui stop - Stop x-ui"
echo "x-ui restart - Restart x-ui"
echo "x-ui status - Show x-ui status"
echo "x-ui enable - Enable x-ui on system startup"
echo "x-ui disable - Disable x-ui on system startup"
echo "x-ui log - Check x-ui logs"
echo "x-ui update - Update x-ui"
echo "x-ui install - Install x-ui"
echo "x-ui uninstall - Uninstall x-ui"
echo "SUBCOMMANDS:"
echo "x-ui - Admin management script"
echo "x-ui start - Start X-UI"
echo "x-ui stop - Stop X-UI"
echo "x-ui restart - Restart X-UI"
echo "x-ui status - Current X-UI status"
echo "x-ui enable - Enable X-UI on system startup"
echo "x-ui disable - Disable X-UI on system startup"
echo "x-ui log - Check X-UI logs"
echo "x-ui update - Update X-UI"
echo "x-ui install - Install X-UI"
echo "x-ui uninstall - Uninstall X-UI"
echo "x-ui help - Control menu usage"
echo "------------------------------------------"
}
show_menu() {
echo -e "
${green}X-UI Panel Management Script${plain}
${green}X-UI Admin Management Script ${plain}
————————————————
${green}0.${plain} Exit Script
${green}0.${plain} Exit
————————————————
${green}1.${plain} Install X-UI
${green}2.${plain} Update X-UI
@@ -646,7 +648,7 @@ show_menu() {
————————————————
${green}8.${plain} Start X-UI
${green}9.${plain} Stop X-UI
${green}10.${plain} Reboot X-UI
${green}10.${plain} Restart X-UI
${green}11.${plain} Check X-UI State
${green}12.${plain} Check X-UI Logs
————————————————
@@ -717,7 +719,7 @@ show_menu() {
ssl_cert_issue_CF
;;
*)
LOGE "Please enter the correct number [0-16]"
LOGE "Please enter the correct number [0-17]"
;;
esac
}