summaryrefslogtreecommitdiffstats
path: root/man/oh-strip.1in
diff options
context:
space:
mode:
Diffstat (limited to 'man/oh-strip.1in')
-rw-r--r--man/oh-strip.1in46
1 files changed, 46 insertions, 0 deletions
diff --git a/man/oh-strip.1in b/man/oh-strip.1in
new file mode 100644
index 0000000..fb0ca44
--- /dev/null
+++ b/man/oh-strip.1in
@@ -0,0 +1,46 @@
+.\" Author: Patrick "P. J." McDermott
+.TH oh-strip 1 \
+"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@"
+
+.SH NAME
+oh-strip \- Strip binary objects of symbols.
+
+.SH SYNOPSIS
+.B oh-strip
+.RB [ -d
+.IR dir ]
+.RB [ -k ]
+
+.SH DESCRIPTION
+.B oh-strip
+strips binary object files of symbols, optionally first copying debugging
+symbols into debugging object files.
+
+.SH OPTIONS
+.TP
+.BI \-d \ dir
+Look for data files in
+.IR dir .
+The default directory is
+.IR dest .
+.TP
+.B \-k
+Copy debugging symbols into debugging object files under
+.I /usr/lib/debug/
+and add a link from each binary file to its debugging object file.
+
+.SH COPYRIGHT
+Copyright (C) 2012 Patrick "P. J." McDermott
+.sp
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+.sp
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+.sp
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.