diff options
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index efc943f68..db7963043 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -994,6 +994,30 @@ | |||
994 | "Checks file types and compares values returning an exit\n" \ | 994 | "Checks file types and compares values returning an exit\n" \ |
995 | "code determined by the value of EXPRESSION." | 995 | "code determined by the value of EXPRESSION." |
996 | 996 | ||
997 | #ifdef BB_FEATURE_TFTP_GET | ||
998 | #define USAGE_TFTP_GET(a) a | ||
999 | #else | ||
1000 | #define USAGE_TFTP_GET(a) | ||
1001 | #endif | ||
1002 | #ifdef BB_FEATURE_TFTP_PUT | ||
1003 | #define USAGE_TFTP_PUT(a) a | ||
1004 | #else | ||
1005 | #define USAGE_TFTP_PUT(a) | ||
1006 | #endif | ||
1007 | |||
1008 | #define tftp_trivial_usage \ | ||
1009 | "command SOURCE DEST" | ||
1010 | #define tftp_full_usage \ | ||
1011 | "Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \ | ||
1012 | "Commands:\n" \ | ||
1013 | USAGE_TFTP_GET( \ | ||
1014 | "\tget\tGet file from server SOURCE and store to local DEST.\n" \ | ||
1015 | ) \ | ||
1016 | USAGE_TFTP_PUT( \ | ||
1017 | "\tput\tPut local file SOURCE to server DEST.\n" \ | ||
1018 | ) \ | ||
1019 | "\nWhen nameing a server, use the syntax \"server:file\"." | ||
1020 | |||
997 | #define touch_trivial_usage \ | 1021 | #define touch_trivial_usage \ |
998 | "[-c] file [file ...]" | 1022 | "[-c] file [file ...]" |
999 | #define touch_full_usage \ | 1023 | #define touch_full_usage \ |