1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00: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"