Skip to content

Commit

Permalink
Use true/false for keepSubscriptions documentation. (#18131)
Browse files Browse the repository at this point in the history
Now that we support using true and false for booleans on the chip-tool
command line, the docs should suggest that.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Jul 20, 2023
1 parent 6ccf12d commit 4797427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chip-tool/commands/clusters/ReportCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ class SubscribeEvent : public ReportCommand
AddArgument("max-interval", 0, UINT16_MAX, &mMaxInterval, 0,
"The requested maximum interval between reports. Sets MaxIntervalCeiling in the Subscribe Request.");
AddArgument("keepSubscriptions", 0, 1, &mKeepSubscriptions,
"0 - Terminate existing subscriptions from initiator.\n 1 - Otherwise.");
"false - Terminate existing subscriptions from initiator.\n true - Leave existing subscriptions in place.");
AddArgument("event-min", 0, UINT64_MAX, &mEventNumber);
ReportCommand::AddArguments();
}
Expand Down

0 comments on commit 4797427

Please sign in to comment.