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:
parent
2a2a311fca
commit
24f7a3fdf4
1 changed files with 1 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue