Fix tftp usage information (closes: #1216).
This commit is contained in:
@@ -1611,17 +1611,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define tftp_trivial_usage \
|
#define tftp_trivial_usage \
|
||||||
"command SOURCE DEST"
|
"[OPTION]... HOST [PORT]"
|
||||||
#define tftp_full_usage \
|
#define tftp_full_usage \
|
||||||
"Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \
|
"Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \
|
||||||
"Commands:\n" \
|
"Options:\n" \
|
||||||
|
"\t-b SIZE\tTransfer blocks of SIZE octets.\n" \
|
||||||
USAGE_TFTP_GET( \
|
USAGE_TFTP_GET( \
|
||||||
"\tget\tGet file from server SOURCE and store to local DEST.\n" \
|
"\t-g\tGet file.\n" \
|
||||||
) \
|
) \
|
||||||
|
"\t-l FILE\tTransfer local FILE.\n" \
|
||||||
USAGE_TFTP_PUT( \
|
USAGE_TFTP_PUT( \
|
||||||
"\tput\tPut local file SOURCE to server DEST.\n" \
|
"\t-p\tPut file.\n" \
|
||||||
) \
|
) \
|
||||||
"\nWhen naming a server, use the syntax \"server:file\"."
|
"\t-r FILE\tTransfer remote FILE.\n"
|
||||||
|
|
||||||
#define touch_trivial_usage \
|
#define touch_trivial_usage \
|
||||||
"[-c] FILE [FILE ...]"
|
"[-c] FILE [FILE ...]"
|
||||||
|
|||||||
@@ -1611,17 +1611,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define tftp_trivial_usage \
|
#define tftp_trivial_usage \
|
||||||
"command SOURCE DEST"
|
"[OPTION]... HOST [PORT]"
|
||||||
#define tftp_full_usage \
|
#define tftp_full_usage \
|
||||||
"Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \
|
"Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \
|
||||||
"Commands:\n" \
|
"Options:\n" \
|
||||||
|
"\t-b SIZE\tTransfer blocks of SIZE octets.\n" \
|
||||||
USAGE_TFTP_GET( \
|
USAGE_TFTP_GET( \
|
||||||
"\tget\tGet file from server SOURCE and store to local DEST.\n" \
|
"\t-g\tGet file.\n" \
|
||||||
) \
|
) \
|
||||||
|
"\t-l FILE\tTransfer local FILE.\n" \
|
||||||
USAGE_TFTP_PUT( \
|
USAGE_TFTP_PUT( \
|
||||||
"\tput\tPut local file SOURCE to server DEST.\n" \
|
"\t-p\tPut file.\n" \
|
||||||
) \
|
) \
|
||||||
"\nWhen naming a server, use the syntax \"server:file\"."
|
"\t-r FILE\tTransfer remote FILE.\n"
|
||||||
|
|
||||||
#define touch_trivial_usage \
|
#define touch_trivial_usage \
|
||||||
"[-c] FILE [FILE ...]"
|
"[-c] FILE [FILE ...]"
|
||||||
|
|||||||
12
usage.h
12
usage.h
@@ -1611,17 +1611,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define tftp_trivial_usage \
|
#define tftp_trivial_usage \
|
||||||
"command SOURCE DEST"
|
"[OPTION]... HOST [PORT]"
|
||||||
#define tftp_full_usage \
|
#define tftp_full_usage \
|
||||||
"Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \
|
"Transfers a file from/to a tftp server using \"octet\" mode.\n\n" \
|
||||||
"Commands:\n" \
|
"Options:\n" \
|
||||||
|
"\t-b SIZE\tTransfer blocks of SIZE octets.\n" \
|
||||||
USAGE_TFTP_GET( \
|
USAGE_TFTP_GET( \
|
||||||
"\tget\tGet file from server SOURCE and store to local DEST.\n" \
|
"\t-g\tGet file.\n" \
|
||||||
) \
|
) \
|
||||||
|
"\t-l FILE\tTransfer local FILE.\n" \
|
||||||
USAGE_TFTP_PUT( \
|
USAGE_TFTP_PUT( \
|
||||||
"\tput\tPut local file SOURCE to server DEST.\n" \
|
"\t-p\tPut file.\n" \
|
||||||
) \
|
) \
|
||||||
"\nWhen naming a server, use the syntax \"server:file\"."
|
"\t-r FILE\tTransfer remote FILE.\n"
|
||||||
|
|
||||||
#define touch_trivial_usage \
|
#define touch_trivial_usage \
|
||||||
"[-c] FILE [FILE ...]"
|
"[-c] FILE [FILE ...]"
|
||||||
|
|||||||
Reference in New Issue
Block a user