1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-07-07 09:16:24 +03:00

Move --offline to group of same behaviour flags

This commit is contained in:
Rubikoid 2024-05-18 16:25:53 +03:00
parent 2a2a311fca
commit 24f7a3fdf4
No known key found for this signature in database
GPG Key ID: 0B65FBE6C49C4BE5

View File

@ -44,7 +44,7 @@ while [ $# -gt 0 ]; do
edit|switch|activate|build|check|changelog)
action=$i
;;
--show-trace|--keep-going|--keep-failed|--verbose|-v|-vv|-vvv|-vvvv|-vvvvv|--fallback)
--show-trace|--keep-going|--keep-failed|--verbose|-v|-vv|-vvv|-vvvv|-vvvvv|--fallback|--offline)
extraMetadataFlags+=("$i")
extraBuildFlags+=("$i")
;;
@ -117,10 +117,6 @@ while [ $# -gt 0 ]; do
fi
shift 1
;;
--offline)
extraMetadataFlags+=("$i")
extraBuildFlags+=("$i")
;;
--substituters)
if [ -z "$1" ]; then
echo "$0: '$i' requires an argument"