diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index 0dbc82a2c..8428bfd32 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -732,6 +732,11 @@ | |||
732 | #else | 732 | #else |
733 | # define USAGE_FIND_INUM(a) | 733 | # define USAGE_FIND_INUM(a) |
734 | #endif | 734 | #endif |
735 | #ifdef CONFIG_FEATURE_FIND_EXEC | ||
736 | # define USAGE_FIND_EXEC(a) a | ||
737 | #else | ||
738 | # define USAGE_FIND_EXEC(a) | ||
739 | #endif | ||
735 | 740 | ||
736 | #define find_trivial_usage \ | 741 | #define find_trivial_usage \ |
737 | "[PATH...] [EXPRESSION]" | 742 | "[PATH...] [EXPRESSION]" |
@@ -751,7 +756,11 @@ | |||
751 | ) USAGE_FIND_NEWER( \ | 756 | ) USAGE_FIND_NEWER( \ |
752 | "\n\t-newer FILE\tModified time is more recent than FILE's" \ | 757 | "\n\t-newer FILE\tModified time is more recent than FILE's" \ |
753 | ) USAGE_FIND_INUM( \ | 758 | ) USAGE_FIND_INUM( \ |
754 | "\n\t-inum N\t\tFile has inode number N") | 759 | "\n\t-inum N\t\tFile has inode number N" \ |
760 | ) USAGE_FIND_EXEC( \ | ||
761 | "\n\t-exec CMD\tExecute CMD with all instances of {} replaced by the" \ | ||
762 | "\n\t\t\tfiles matching EXPRESSION") | ||
763 | |||
755 | #define find_example_usage \ | 764 | #define find_example_usage \ |
756 | "$ find / -name passwd\n" \ | 765 | "$ find / -name passwd\n" \ |
757 | "/etc/passwd\n" | 766 | "/etc/passwd\n" |