diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2023-09-04 15:49:49 +0900 |
|---|---|---|
| committer | Shohei YOSHIDA <syohex@gmail.com> | 2023-09-04 15:49:49 +0900 |
| commit | db79320716c3f456f38f7629026ad5fd8341a5ee (patch) | |
| tree | cdd8dc23a07330b64b68bad75b130745e865a40b /src/_flutter | |
| parent | Merge pull request #1033 from zsh-users/add-supervisord (diff) | |
| download | zsh-completions-db79320716c3f456f38f7629026ad5fd8341a5ee.tar zsh-completions-db79320716c3f456f38f7629026ad5fd8341a5ee.tar.gz zsh-completions-db79320716c3f456f38f7629026ad5fd8341a5ee.tar.bz2 zsh-completions-db79320716c3f456f38f7629026ad5fd8341a5ee.tar.lz zsh-completions-db79320716c3f456f38f7629026ad5fd8341a5ee.tar.xz zsh-completions-db79320716c3f456f38f7629026ad5fd8341a5ee.tar.zst zsh-completions-db79320716c3f456f38f7629026ad5fd8341a5ee.zip | |
Fix wrong initial value settings
Diffstat (limited to 'src/_flutter')
| -rw-r--r-- | src/_flutter | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/_flutter b/src/_flutter index e7398ec..e045261 100644 --- a/src/_flutter +++ b/src/_flutter @@ -662,7 +662,7 @@ _flutter_build() { ;; esac - return $ret + return ret } (( $+functions[_flutter_build_entities] )) || @@ -684,7 +684,8 @@ _flutter_build_entities() { (( $+functions[_flutter_custom_devices] )) || _flutter_custom_devices() { - local ret=0 + local ret=1 + _arguments -C \ '(- *)'{-h,--help}'[Print this usage information]' \ '1: :_flutter_custom_devices_subcommands' \ @@ -710,7 +711,7 @@ _flutter_custom_devices() { ;; esac - return $ret + return ret } (( $+functions[_flutter_custom_devices_subcommands] )) || @@ -763,7 +764,7 @@ _flutter_android_languages() { (( $+functions[_flutter_pub] )) || _flutter_pub() { - local ret=0 + local ret=1 _arguments -C \ '(- *)'{-h,--help}'[Print this usage information]' \ @@ -878,7 +879,7 @@ _flutter_pub() { ;; esac - return $ret + return ret } (( $+functions[_flutter_pub_subcommands] )) || @@ -908,7 +909,7 @@ _flutter_pub_subcommands() { (( $+functions[_flutter_pub_cache] )) || _flutter_pub_cache() { - local ret=0 + local ret=1 _arguments -C \ '(- *)'{-h,--help}'[Print this usage information]' \ @@ -941,7 +942,7 @@ _flutter_pub_cache() { ;; esac - return $ret + return ret } (( $+functions[_flutter_pub_cache_subcommand] )) || @@ -956,7 +957,7 @@ _flutter_pub_cache_subcommand() { (( $+functions[_flutter_pub_global] )) || _flutter_pub_global() { - local ret=0 + local ret=1 _arguments -C \ '(- *)'{-h,--help}'[Print this usage information]' \ @@ -994,7 +995,7 @@ _flutter_pub_global() { ;; esac - return $ret + return ret } (( $+functions[_flutter_pub_global_subcommand] )) || @@ -1010,7 +1011,7 @@ _flutter_pub_global_subcommand() { (( $+functions[_flutter_pub_token] )) || _flutter_pub_token() { - local ret=0 + local ret=1 _arguments -C \ '(- *)'{-h,--help}'[Print this usage information]' \ @@ -1041,7 +1042,7 @@ _flutter_pub_token() { ;; esac - return $ret + return ret } (( $+functions[_flutter_pub_token_subcommand] )) || |
