aboutsummaryrefslogtreecommitdiff
path: root/archival/dpkg_deb.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-03-27 22:40:30 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-03-27 22:40:30 +0200
commit1f4447b2d439e6f11d95746bb5f611c353305859 (patch)
tree0f47681009046a12ee050b989b838c68493a6a2e /archival/dpkg_deb.c
parent700fbc308dd1f2e063180786cddfcc4abd6c10c0 (diff)
downloadbusybox-1f4447b2d439e6f11d95746bb5f611c353305859.tar.gz
move help text from include/usage.src.h to archival/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/dpkg_deb.c')
-rw-r--r--archival/dpkg_deb.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c
index aee7b4cf5..9e1e811ee 100644
--- a/archival/dpkg_deb.c
+++ b/archival/dpkg_deb.c
@@ -4,6 +4,21 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+
+//usage:#define dpkg_deb_trivial_usage
+//usage: "[-cefxX] FILE [argument"
+//usage:#define dpkg_deb_full_usage "\n\n"
+//usage: "Perform actions on Debian packages (.debs)\n"
+//usage: "\nOptions:"
+//usage: "\n -c List contents of filesystem tree"
+//usage: "\n -e Extract control files to [argument] directory"
+//usage: "\n -f Display control field name starting with [argument]"
+//usage: "\n -x Extract packages filesystem tree to directory"
+//usage: "\n -X Verbose extract"
+//usage:
+//usage:#define dpkg_deb_example_usage
+//usage: "$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n"
+
#include "libbb.h"
#include "archive.h"