]> sourceware.org Git - libabigail.git/commit
Unite help output for tools
authorOndrej Oprala <ooprala@redhat.com>
Sat, 5 Jul 2014 20:17:01 +0000 (22:17 +0200)
committerDodji Seketeli <dodji@redhat.com>
Tue, 9 Sep 2014 16:14:35 +0000 (18:14 +0200)
commitbdac9d6631d2de785adb8a05291f710890c9b278
treeb6c57ed45c381b437375c40883780f35f519949d
parentb7030c5511ff22916b9c46caee2a7ccd63ec8a59
Unite help output for tools

* tools/biar.cc (std::ostream): Add a using directive.
(display_usage): Make it take a string reference and an ostream
as parameters. Use the ostream argument as an output stream
instead of a hard-coded cout.
Prettify output.
(main): Call display_usage with new parameters.
* tools/bidiff.cc (display_usage): Declare it static.
Prettify output.
* tools/bidw.cc (display_usage): Prettify output.
* tools/bilint.cc (display_usage): Declare it static.
Prettify output.
* tools/bisym.cc (std::cerr): Add a using directive.
(prog_name): Rename progname into this.
(display_usage): Rename show_help into this.
Add an ostream as a parameter. Use the ostream argument
as output stream insted of a hard-coded cout.

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tools/biar.cc
tools/bidiff.cc
tools/bidw.cc
tools/bilint.cc
tools/bisym.cc
This page took 0.033934 seconds and 5 git commands to generate.