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-w32-1f4447b2d439e6f11d95746bb5f611c353305859.tar.gz
busybox-w32-1f4447b2d439e6f11d95746bb5f611c353305859.tar.bz2
busybox-w32-1f4447b2d439e6f11d95746bb5f611c353305859.zip
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 @@
4 * 4 *
5 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 5 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
6 */ 6 */
7
8//usage:#define dpkg_deb_trivial_usage
9//usage: "[-cefxX] FILE [argument"
10//usage:#define dpkg_deb_full_usage "\n\n"
11//usage: "Perform actions on Debian packages (.debs)\n"
12//usage: "\nOptions:"
13//usage: "\n -c List contents of filesystem tree"
14//usage: "\n -e Extract control files to [argument] directory"
15//usage: "\n -f Display control field name starting with [argument]"
16//usage: "\n -x Extract packages filesystem tree to directory"
17//usage: "\n -X Verbose extract"
18//usage:
19//usage:#define dpkg_deb_example_usage
20//usage: "$ dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp\n"
21
7#include "libbb.h" 22#include "libbb.h"
8#include "archive.h" 23#include "archive.h"
9 24