fix: use -B for background flag to prevent flags conflict

This commit is contained in:
2026-04-21 10:44:28 +03:00
parent 53c0c4654b
commit 627fde8b01

View File

@@ -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