abipkgdiff: fix documentation of --impacted-interface

Message ID 86v9n1sjo8.fsf@seketeli.org
State Committed
Series abipkgdiff: fix documentation of --impacted-interface |

Commit Message

Dodji Seketeli March 18, 2020, 4:37 p.m. UTC

I was doing some tests with heirloom mailer and I might have been
somewhat too hasty, sorry.

So I am reposting the patch here in a better form, this patch that I
have just applied to master.

Update the help string of the --impacted-interface option to make it
match the one from the abidiff tool.

	* tools/abipkgdiff.cc (display_usage): Use the same help string
	for the --impacted-interface option as abidiff does.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
 tools/abipkgdiff.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


diff --git a/tools/abipkgdiff.cc b/tools/abipkgdiff.cc
index 191d6d38..611b4d07 100644
--- a/tools/abipkgdiff.cc
+++ b/tools/abipkgdiff.cc
@@ -850,8 +850,7 @@  display_usage(const string& prog_name, ostream& out)
     "to the package as well\n"
     << " --leaf-changes-only|-l  only show leaf changes, "
     "so no change impact analysis (implies --redundant)\n"
-    << " --impacted-interfaces|-i when in leaf mode, show "
-    "interfaces impacted by ABI changes\n"
+    << " --impacted-interfaces|-i  display interfaces impacted by leaf changes\n"
     << " --full-impact|-f  when comparing kernel packages, show the "
     "full impact analysis report rather than the default leaf changes reports\n"
     << " --non-reachable-types|-t  consider types non reachable"