diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-10-10 23:15:23 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-10-10 23:15:23 +0000 |
commit | d12061b299a096359b998e0e4415ebe77b45c96b (patch) | |
tree | 81365b3c63842635d51d2af65695a5a59aeafdb6 /include/usage.h | |
parent | 61796945e37a6cd9dd230e8e7a86536ad58fcd14 (diff) | |
download | busybox-w32-d12061b299a096359b998e0e4415ebe77b45c96b.tar.gz busybox-w32-d12061b299a096359b998e0e4415ebe77b45c96b.tar.bz2 busybox-w32-d12061b299a096359b998e0e4415ebe77b45c96b.zip |
Vodz last_patch_117, update options for new xargs
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index 0b03102a7..851023ea5 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2736,13 +2736,32 @@ | |||
2736 | #define whoami_full_usage \ | 2736 | #define whoami_full_usage \ |
2737 | "Prints the user name associated with the current effective user id." | 2737 | "Prints the user name associated with the current effective user id." |
2738 | 2738 | ||
2739 | #ifdef CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION | ||
2740 | #define USAGE_XARGS_CONFIRMATION(a) a | ||
2741 | #else | ||
2742 | #define USAGE_XARGS_CONFIRMATION(a) | ||
2743 | #endif | ||
2744 | #ifdef CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT | ||
2745 | #define USAGE_XARGS_TERMOPT(a) a | ||
2746 | #else | ||
2747 | #define USAGE_XARGS_TERMOPT(a) | ||
2748 | #endif | ||
2749 | #ifdef CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM | ||
2750 | #define USAGE_XARGS_ZERO_TERM(a) a | ||
2751 | #else | ||
2752 | #define USAGE_XARGS_ZERO_TERM(a) | ||
2753 | #endif | ||
2754 | |||
2755 | |||
2739 | #define xargs_trivial_usage \ | 2756 | #define xargs_trivial_usage \ |
2740 | "[COMMAND] [-prt] [ARGS...]" | 2757 | "[COMMAND] [OPTIONS] [ARGS...]" |
2741 | #define xargs_full_usage \ | 2758 | #define xargs_full_usage \ |
2742 | "Executes COMMAND on every item given by standard input.\n\n" \ | 2759 | "Executes COMMAND on every item given by standard input.\n\n" \ |
2743 | "Options:\n" \ | 2760 | "Options:\n" \ |
2744 | "\t-p\tPrompt the user about whether to run each command\n" \ | 2761 | USAGE_XARGS_CONFIRMATION("\t-p\tPrompt the user about whether to run each command\n") \ |
2745 | "\t-r\tDo not run command for empty readed lines\n" \ | 2762 | "\t-r\tDo not run command for empty readed lines\n" \ |
2763 | USAGE_XARGS_TERMOPT("\t-x\tExit if the size is exceeded\n") \ | ||
2764 | USAGE_XARGS_ZERO_TERM("\t-0\tInput filenames are terminated by a null character\n") \ | ||
2746 | "\t-t\tPrint the command line on stderr before executing it." | 2765 | "\t-t\tPrint the command line on stderr before executing it." |
2747 | #define xargs_example_usage \ | 2766 | #define xargs_example_usage \ |
2748 | "$ ls | xargs gzip\n" \ | 2767 | "$ ls | xargs gzip\n" \ |