mirror of
https://github.com/chenasraf/tx.git
synced 2026-05-17 17:28:08 +00:00
fix: use -B for background flag to prevent flags conflict
This commit is contained in:
@@ -167,7 +167,7 @@ func init() {
|
||||
// Global flags
|
||||
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "V", false, "Verbose logging")
|
||||
rootCmd.PersistentFlags().BoolVarP(&dry, "dry", "d", false, "Dry run (log commands, don't execute)")
|
||||
rootCmd.PersistentFlags().BoolVarP(&background, "background", "b", false, "Create session in background without attaching")
|
||||
rootCmd.PersistentFlags().BoolVarP(&background, "background", "B", false, "Create session in background without attaching")
|
||||
rootCmd.Flags().BoolP("version", "v", false, "Print version")
|
||||
|
||||
// Add subcommands
|
||||
|
||||
Reference in New Issue
Block a user