diff options
Diffstat (limited to 'usage.h')
-rw-r--r-- | usage.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 ...]" |