abidiff: fix documentation of --impacted-interfaces

Message ID 20200315223143.183911-1-maennich@google.com
State Committed
Headers
Series abidiff: fix documentation of --impacted-interfaces |

Commit Message

Matthias Männich March 15, 2020, 10:31 p.m. UTC
  abidiff --impacted-interfaces is supposed to show the impacted
interfaces. Hence fix the documentation to reflect that.

	* tools/abidiff.cc(display_usage): Fix doc string for
	--impacted-interfaces.

Reported-by: Saravana Kannan <saravanak@google.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
---
 tools/abidiff.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
  

Comments

Dodji Seketeli March 18, 2020, 3:35 p.m. UTC | #1
Hello Matthias,

Matthias Maennich <maennich@google.com> a ?crit:

> abidiff --impacted-interfaces is supposed to show the impacted
> interfaces. Hence fix the documentation to reflect that.
>
> 	* tools/abidiff.cc(display_usage): Fix doc string for
> 	--impacted-interfaces.

Applied to master.

Thanks!
  

Patch

diff --git a/tools/abidiff.cc b/tools/abidiff.cc
index bbe2f4f20fd5..44ad1878e2b8 100644
--- a/tools/abidiff.cc
+++ b/tools/abidiff.cc
@@ -231,8 +231,7 @@  display_usage(const string& prog_name, ostream& out)
     << " --redundant  display redundant changes\n"
     << " --no-redundant  do not display redundant changes "
     "(this is the default)\n"
-    << " --impacted-interfaces  do not display interfaces impacted"
-    " by leaf changes\n"
+    << " --impacted-interfaces  display interfaces impacted by leaf changes\n"
     << " --dump-diff-tree  emit a debug dump of the internal diff tree to "
     "the error output stream\n"
     <<  " --stats  show statistics about various internal stuff\n"