diff options
Diffstat (limited to 'include')
-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" \ |