diff --git a/cli/bash/commands/basectl/tests/completions.bats b/cli/bash/commands/basectl/tests/completions.bats index 3368b32..f8f7e0a 100644 --- a/cli/bash/commands/basectl/tests/completions.bats +++ b/cli/bash/commands/basectl/tests/completions.bats @@ -286,8 +286,8 @@ EOF [[ "$output" == *"ci_check_options=--format --manifest --profile"* ]] [[ "$output" == *"gh_areas=issue pr branch worktree project"* ]] [[ "$output" == *"gh_project_commands=doctor configure issue"* ]] - [[ "$output" == *"gh_project_configure_options=--project --owner --schema --initiative-option --repo --replace-project --dry-run"* ]] - [[ "$output" == *"gh_project_issue_set_fields_options=--repo --project --owner --status --priority --area --initiative --size --dry-run"* ]] + [[ "$output" == *"gh_project_configure_options=--project --owner --schema --config --copy-fields-from --initiative-option --repo --replace-project --dry-run"* ]] + [[ "$output" == *"gh_project_issue_set_fields_options=--repo --project --owner --config --status --priority --area --initiative --size --dry-run"* ]] [[ "$output" == *"gh_worktree_commands=prune"* ]] [[ "$output" == *"gh_worktree_prune_options=--dry-run --yes"* ]] } diff --git a/lib/shell/completions/basectl_completion.sh b/lib/shell/completions/basectl_completion.sh index 9d69342..ef673e6 100644 --- a/lib/shell/completions/basectl_completion.sh +++ b/lib/shell/completions/basectl_completion.sh @@ -335,13 +335,13 @@ _base_basectl_completion() { _base_basectl_completion_compgen "--project --owner --schema -h --help" "$cur" ;; configure) - _base_basectl_completion_compgen "--project --owner --schema --initiative-option --repo --replace-project --dry-run -h --help" "$cur" + _base_basectl_completion_compgen "--project --owner --schema --config --copy-fields-from --initiative-option --repo --replace-project --dry-run -h --help" "$cur" ;; issue) if ((COMP_CWORD == 4)); then _base_basectl_completion_compgen "set-fields" "$cur" else - _base_basectl_completion_compgen "--repo --project --owner --status --priority --area --initiative --size --dry-run -h --help" "$cur" + _base_basectl_completion_compgen "--repo --project --owner --config --status --priority --area --initiative --size --dry-run -h --help" "$cur" fi ;; esac