summaryrefslogtreecommitdiffhomepage
path: root/archival/ar.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/ar.c
parent700fbc308dd1f2e063180786cddfcc4abd6c10c0 (diff)
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/ar.c')
-rw-r--r--archival/ar.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/archival/ar.c b/archival/ar.c
index a2e3306ac..f5a379fb8 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -17,6 +17,17 @@
* http://www.unix-systems.org/single_unix_specification_v2/xcu/ar.html
*/
+//usage:#define ar_trivial_usage
+//usage: "[-o] [-v] [-p] [-t] [-x] ARCHIVE FILES"
+//usage:#define ar_full_usage "\n\n"
+//usage: "Extract or list FILES from an ar archive\n"
+//usage: "\nOptions:"
+//usage: "\n -o Preserve original dates"
+//usage: "\n -p Extract to stdout"
+//usage: "\n -t List"
+//usage: "\n -x Extract"
+//usage: "\n -v Verbose"
+
#include "libbb.h"
#include "archive.h"
#include "ar.h"