mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
cli: the follow to bash_completion format generated by the latest cobra library
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ func NewRootCmd() *cobra.Command {
|
||||
rootCmd.PersistentFlags().BoolVarP(&globalOpts.Debug, "debug", "d", false, "use debug")
|
||||
rootCmd.PersistentFlags().BoolVarP(&globalOpts.Quiet, "quiet", "q", false, "use quiet")
|
||||
rootCmd.PersistentFlags().BoolVarP(&globalOpts.GenCmpl, "gen-cmpl", "c", false, "generate completion file")
|
||||
rootCmd.PersistentFlags().StringVarP(&globalOpts.BashCmplFile, "bash-cmpl-file", "", "gobgp_completion.bash", "bash cmpl filename")
|
||||
rootCmd.PersistentFlags().StringVarP(&globalOpts.BashCmplFile, "bash-cmpl-file", "", "gobgp-completion.bash", "bash cmpl filename")
|
||||
|
||||
globalCmd := NewGlobalCmd()
|
||||
neighborCmd := NewNeighborCmd()
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user