瀏覽代碼

Update port prompt to mention pressing Enter

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tuanchris 4 月之前
父節點
當前提交
367bcbbdfa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      flash-fluidnc.sh

+ 1 - 1
flash-fluidnc.sh

@@ -137,7 +137,7 @@ fi
 if [[ ${#PORTS[@]} -eq 1 ]]; then
     PORT="${PORTS[0]}"
     echo -e "Found port: ${GREEN}${PORT}${NC}"
-    read -p "Use this port? [Y/n]: " confirm
+    read -p "Press Enter to use this port (or 'n' to cancel): " confirm
     if [[ "$confirm" =~ ^[Nn] ]]; then
         echo -e "${RED}Exiting.${NC}"
         exit 1