# shellcheck shell=bash

build_usage() {
  cat << EOF
Usage: $0 [options]

Build script for gw.sh and gw-tui components.

Options:
  -d, --debug         Build in debug mode (default: release)
  -i, --install       Install gw-tui globally after building
  -t, --test-only     Only run tests, don't build
  -h, --help          Show this help

Examples:
  $0                  # Build release version
  $0 --debug          # Build debug version
  $0 --install        # Build and install globally
  $0 --test-only      # Just run tests

The built binary will be available at:
  - Release: ./gw-tui/target/release/gw-tui
  - Debug:   ./gw-tui/target/debug/gw-tui

The gw.sh script will automatically detect and use the built binary.
EOF
}
