[PATCH] find-debuginfo.sh: Add --help, --version and man page.

Mark Wielaard mark@klomp.org
Fri Apr 30 12:10:14 GMT 2021


Hi Dmitry,

On Fri, 2021-04-30 at 02:06 +0300, Dmitry V. Levin wrote:
> I suggest to use "cat" instead of multiple echoes, e.g.
> 
>   cat <<-'EOF'
> 	Usage: find-debuginfo.sh [OPTION]... [builddir]
> 	automagically generates debug info and file lists
> 
> 	Options:
> 	[...]
> 	--unique-debug-src-base "%{name}-%{VERSION}-
> %{RELEASE}.%{_arch}")
> 
> 	All file names in switches are relative to builddir ('.' if not
> given).
>   EOF

Yes, that is obviously much nicer.
Updated patch attached.

Thanks,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-find-debuginfo.sh-Add-help-version-and-man-page.patch
Type: text/x-patch
Size: 9622 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/debugedit/attachments/20210430/de25db2f/attachment.bin>


More information about the Debugedit mailing list