aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h35
1 files changed, 22 insertions, 13 deletions
diff --git a/include/usage.h b/include/usage.h
index b9310ac1f..0fba9b848 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -866,24 +866,33 @@ USE_FEATURE_DATE_ISOFMT( \
866 "\nEXPRESSION may consist of:\n" \ 866 "\nEXPRESSION may consist of:\n" \
867 " -follow Dereference symbolic links\n" \ 867 " -follow Dereference symbolic links\n" \
868 " -name PATTERN File name (leading directories removed) matches PATTERN\n" \ 868 " -name PATTERN File name (leading directories removed) matches PATTERN\n" \
869 " -print Print (default and assumed)\n" \ 869 " -print Print (default and assumed)" \
870 USE_FEATURE_FIND_PRINT0( \ 870 USE_FEATURE_FIND_PRINT0( \
871 " -print0 Delimit output with null characters rather than\n newlines" \ 871 "\n -print0 Delimit output with null characters rather than" \
872) USE_FEATURE_FIND_TYPE( \ 872 "\n newlines" \
873 ) USE_FEATURE_FIND_TYPE( \
873 "\n -type X Filetype matches X (where X is one of: f,d,l,b,c,...)" \ 874 "\n -type X Filetype matches X (where X is one of: f,d,l,b,c,...)" \
874) USE_FEATURE_FIND_PERM( \ 875 ) USE_FEATURE_FIND_PERM( \
875 "\n -perm PERMS Permissions match any of (+NNN); all of (-NNN);\n or exactly (NNN)" \ 876 "\n -perm PERMS Permissions match any of (+NNN); all of (-NNN);" \
876) USE_FEATURE_FIND_MTIME( \ 877 "\n or exactly (NNN)" \
877 "\n -mtime DAYS Modified time is greater than (+N); less than (-N);\n or exactly (N) days" \ 878 ) USE_FEATURE_FIND_MTIME( \
878) USE_FEATURE_FIND_MMIN( \ 879 "\n -mtime DAYS Modified time is greater than (+N); less than (-N);" \
879 "\n -mmin MINS Modified time is greater than (+N); less than (-N);\n or exactly (N) minutes" \ 880 "\n or exactly (N) days" \
880) USE_FEATURE_FIND_NEWER( \ 881 ) USE_FEATURE_FIND_MMIN( \
882 "\n -mmin MINS Modified time is greater than (+N); less than (-N);" \
883 "\n or exactly (N) minutes" \
884 ) USE_FEATURE_FIND_NEWER( \
881 "\n -newer FILE Modified time is more recent than FILE's" \ 885 "\n -newer FILE Modified time is more recent than FILE's" \
882) USE_FEATURE_FIND_INUM( \ 886 ) USE_FEATURE_FIND_INUM( \
883 "\n -inum N File has inode number N" \ 887 "\n -inum N File has inode number N" \
884) USE_FEATURE_FIND_EXEC( \ 888 ) USE_FEATURE_FIND_EXEC( \
885 "\n -exec CMD Execute CMD with all instances of {} replaced by the" \ 889 "\n -exec CMD Execute CMD with all instances of {} replaced by the" \
886 "\n files matching EXPRESSION") 890 "\n files matching EXPRESSION" \
891 ) USE_DESKTOP( \
892 "\n -size N File size is N" \
893 "\n -prune Stop traversing current subtree" \
894 "\n (expr) Group" \
895 )
887 896
888#define find_example_usage \ 897#define find_example_usage \
889 "$ find / -name passwd\n" \ 898 "$ find / -name passwd\n" \