Simplify the options here

This commit is contained in:
David Heinemeier Hansson committed 2026-02-18 18:58:59 +01:00
1 parent 1f465cfeac
commit 72b7a1f245
1 file changed
+3 -4
+3 -4
View File
@@ -17,23 +17,22 @@ while [[ $# -gt 0 ]]; do
;; ;;
--local-source) --local-source)
LOCAL_SOURCE=1 LOCAL_SOURCE=1
OMARCHY_MIRROR=edge
shift shift
;; ;;
--dev) --dev)
OMARCHY_INSTALLER_REF=dev OMARCHY_INSTALLER_REF=dev
shift
;;
--edge)
OMARCHY_MIRROR=edge OMARCHY_MIRROR=edge
shift shift
;; ;;
--rc) --rc)
OMARCHY_MIRROR=rc OMARCHY_MIRROR=rc
OMARCHY_INSTALLER_REF=rc
shift shift
;; ;;
*) *)
echo "Unknown option: $1" echo "Unknown option: $1"
echo "Usage: $0 [--no-cache] [--no-boot-offer] [--local-source] [--dev] [--edge] [--rc]" echo "Usage: $0 [--no-cache] [--no-boot-offer] [--local-source] [--dev] [--rc]"
exit 1 exit 1
;; ;;
esac esac