Skip to content

Commit 8f58521

Browse files
committed
Add --help and --no-workflows for all commands
By default, complete each Elegant Git command with `--help` and `--no-workflows` options if a custom completion is not specified.
1 parent c61ce10 commit 8f58521

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

completions/git-elegant.bash

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ _git_elegant() {
3535
show-release-notes)
3636
COMPREPLY=( $(compgen -W "simple smart ${gecops[*]}" -- ${cursor}) )
3737
return 0 ;;
38-
*) ;;
38+
*)
39+
COMPREPLY=( $(compgen -W "${gecops[*]}" -- ${cursor}) )
40+
return 0 ;;
3941
esac
4042
fi
4143

0 commit comments

Comments
 (0)