aboutsummaryrefslogtreecommitdiff
path: root/applets/usage.h
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-05 04:40:37 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-05 04:40:37 +0000
commit836a3d8bb2697c1f1a1e8a31bd5dfff2ce9a1d19 (patch)
treebfc74a10998be45c79515b34f2288702cfeed726 /applets/usage.h
parent1eb2cc0584e2dd10c54d6dc02416d8b11a542e58 (diff)
downloadbusybox-w32-836a3d8bb2697c1f1a1e8a31bd5dfff2ce9a1d19.tar.gz
busybox-w32-836a3d8bb2697c1f1a1e8a31bd5dfff2ce9a1d19.tar.bz2
busybox-w32-836a3d8bb2697c1f1a1e8a31bd5dfff2ce9a1d19.zip
Apply Magnus Damm's patch, adds tftp blocksize support, and some cleanups.
git-svn-id: svn://busybox.net/trunk/busybox@3492 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'applets/usage.h')
-rw-r--r--applets/usage.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/applets/usage.h b/applets/usage.h
index 0b095a4da..9dc7fae56 100644
--- a/applets/usage.h
+++ b/applets/usage.h
@@ -1615,13 +1615,19 @@
1615#else 1615#else
1616 #define USAGE_TFTP_PUT(a) 1616 #define USAGE_TFTP_PUT(a)
1617#endif 1617#endif
1618#ifdef BB_FEATURE_TFTP_BLOCKSIZE
1619 #define USAGE_TFTP_BS(a) a
1620#else
1621 #define USAGE_TFTP_BS(a)
1622#endif
1618 1623
1619#define tftp_trivial_usage \ 1624#define tftp_trivial_usage \
1620 "[OPTION]... HOST [PORT]" 1625 "[OPTION]... HOST [PORT]"
1621#define tftp_full_usage \ 1626#define tftp_full_usage \
1622 "Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \ 1627 "Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \
1623 "Options:\n" \ 1628 "Options:\n" \
1624 "\t-b SIZE\tTransfer blocks of SIZE octets.\n" \ 1629 "\t-l FILE\tLocal FILE.\n" \
1630 "\t-r FILE\tRemote FILE.\n" \
1625 USAGE_TFTP_GET( \ 1631 USAGE_TFTP_GET( \
1626 "\t-g\tGet file.\n" \ 1632 "\t-g\tGet file.\n" \
1627 ) \ 1633 ) \
@@ -1629,7 +1635,9 @@
1629 USAGE_TFTP_PUT( \ 1635 USAGE_TFTP_PUT( \
1630 "\t-p\tPut file.\n" \ 1636 "\t-p\tPut file.\n" \
1631 ) \ 1637 ) \
1632 "\t-r FILE\tTransfer remote FILE.\n" 1638 USAGE_TFTP_BS( \
1639 "\t-b SIZE\tTransfer blocks of SIZE octets.\n" \
1640 )
1633 1641
1634#define touch_trivial_usage \ 1642#define touch_trivial_usage \
1635 "[-c] FILE [FILE ...]" 1643 "[-c] FILE [FILE ...]"