-func TestHelpListsTheRootNotificationCommand(t *testing.T) {
- require.Contains(t, commandOutput(t, "help"), "notify --source SOURCE --id ID --text TEXT")
- require.Contains(t, commandOutput(t, "notify", "--help"), "not processed")
+func TestHelpListsTheStableNotificationTargetFlag(t *testing.T) {
+ require.Contains(t, commandOutput(t, "help"), "notify [--agent-id ID] --source SOURCE --id ID --text TEXT")
+
+ help := commandOutput(t, "notify", "--help")
+ require.Contains(t, help, "not processed")
+ require.Contains(t, help, "--agent-id ID")
+ require.NotContains(t, help, "--agent NAME")