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)
|
edit|switch|activate|build|check|changelog)
|
||||||
action=$i
|
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")
|
extraMetadataFlags+=("$i")
|
||||||
extraBuildFlags+=("$i")
|
extraBuildFlags+=("$i")
|
||||||
;;
|
;;
|
||||||
|
@ -117,10 +117,6 @@ while [ $# -gt 0 ]; do
|
||||||
fi
|
fi
|
||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
--offline)
|
|
||||||
extraMetadataFlags+=("$i")
|
|
||||||
extraBuildFlags+=("$i")
|
|
||||||
;;
|
|
||||||
--substituters)
|
--substituters)
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "$0: '$i' requires an argument"
|
echo "$0: '$i' requires an argument"
|
||||||
|
|
Loading…
Reference in a new issue