diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2021-10-23 15:05:52 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2021-10-23 15:06:42 +0200 |
| commit | 44da835ac40dab5fd231298b59d83487382d2fab (patch) | |
| tree | 38759adb4565c164518441b6759960e11f1e61c1 /pkgs | |
| parent | 8dfeb92ec1b217898f9cf9f64421120b2a20fed4 (diff) | |
add forward compatibility for literalExample deprecation
Fixes #367
Diffstat (limited to 'pkgs')
| -rwxr-xr-x | pkgs/nix-tools/darwin-option.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/nix-tools/darwin-option.sh b/pkgs/nix-tools/darwin-option.sh index 57a73e5..d6d466b 100755 --- a/pkgs/nix-tools/darwin-option.sh +++ b/pkgs/nix-tools/darwin-option.sh @@ -62,7 +62,7 @@ if [ "$(evalOpt "_type")" = '"option"' ]; then evalOpt "default" || evalOptText "defaultText" || echo "no default" echo echo "Example:" - if [ "$(evalOpt "example._type")" = '"literalExample"' ]; then + if [ "$(evalOpt "example._type")" = '"literalExpression"' ]; then evalOptText "example.text" || echo "no example" else evalOpt "example" || echo "no example" |
