fix(get): add shell flag

resolves #2821
This commit is contained in:
Jan De Dobbeleer 2022-09-23 10:16:19 +02:00 committed by Jan De Dobbeleer
parent 9b58ccc373
commit 4554d31168

View file

@ -61,4 +61,5 @@ This command is used to get the value of the following variables:
func init() { //nolint:gochecknoinits
rootCmd.AddCommand(getCmd)
getCmd.Flags().StringVar(&shellName, "shell", "", "the shell to print for")
}